错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Garbage Collection – Plan Phase

  • Konrad Kokosa,
  • Christophe Nasarre,
  • Kevin Gosse

摘要

After the Mark phase, all objects have been identified as reachable or not. Those reachable are marked by a dedicated bit. Some of the marked objects may be additionally marked as pinned by another bit. At this moment, the Garbage Collector has all the necessary information to continue its job. But the question arises – should it proceed with a Sweep or a Compact collection?