It then traverses the chain of references until all (directly or indirectly) reachable objects from the root set are marked.
跟踪然后遍历引用链直至标记完根集中所有(直接或间接)可获得的对象。
For example, it is not necessary to track stores to local or static variables, because they will already be part of the root set.
例如,不需要跟踪针对本地或者静态变量的存储,因为它们已经是根集的一部分了。
This tracing starts with the root set, which consists of internal structures such as thread stacks and global references to objects.
这个跟踪以根集 开始,它由一些内部结构组成,比如线程栈和对象的全局引用。
应用推荐