The root set of a running program is the set of references it holds outside the heap: in its variables, its registers and its call stack. An object is reachable if a path of references leads to it from a root. A heap object that is not reachable is garbage: no future step of the program can read it.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Root set, reachable object, garbage?
又称: root set · reachable object · garbage