Root set

Any tracing garbage collector starts out with a set of objects that are reachable "from the beginning". This usually means the objects present in registers and on the local stack frame in the thread context of the Java threads that are stopped for garbage collection. The root set also contains global data, such as objects in static fields.

See also Livemap and Tracing garbage collection.

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.