Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Root set, reachable object, garbage » ?

Aussi appelé : root set · reachable object · garbage

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

Lire dans le chapitre →