In a nutshell, this means that the collector first walks through the set of reachable objects, marking them as live data.
简言之,这意味着收集器首先逐一访问可访问的对象,将它们标记为实时数据。
2
Card marking algorithms can add as little as two or three machine instructions per non-initializing heap pointer store, and entails scanning any objects on dirty CARDS at minor collection time.
The mark phase is responsible for tracing through all objects visible to the application and marking them as live to prevent them from having their storage reclaimed.