Garbage collection root
= Garbage collection root
A garbage collection root is an initially accessible reference from which the collector traces reachable <software objects>. Depending on the runtime, roots include active <stack> or register references and static references. <Software objects> reached transitively through reference fields must remain live. Exact root sets and collection timing are implementation details.