Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Root set, reachable object, garbage?

Ook bekend als: root set · reachable object · garbage

Definition 9.4 University Computer Science — Year 3 · Hoofdstuk 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.

Lees in het hoofdstuk →