Theory and algorithm behind Java garbage collection

后端 未结 6 1289
悲哀的现实
悲哀的现实 2021-01-31 05:14

I read at many places, but did not find a place where I can learn about :

What is java garbage collection all about?

How is it implemented?

When and

6条回答
  •  一向
    一向 (楼主)
    2021-01-31 06:07

    The garbage collection technique uses MARK and SWEEP algorithm.

    For more details Mark-and-Sweep Garbage Collection

提交回复
热议问题