Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Root set, reachable object, garbage?

Também chamado de: root set · reachable object · garbage

Definition 9.4 University Computer Science — Year 3 · Capítulo 9 — Memory Management and Garbage Collection

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.

Ler no capítulo →