Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • An edge is a reference in the heap from one reference field to the object (or node) it points to.
  • Tracing an object is the policy-defined operation performed by the collector on an object.  In a mark-sweep policy this means setting the mark state of the object.  In a copying policy this means moving the object to its new location.
  • Scanning ... is the process of identifying the reference fields of an object and processing the objects reachable from each of them.

Each distinct transitive closure operation is defined as a subclass of TraceLocal.  The closure is performed in the collectionPhase method of the plan-specific CollectorContext class