PTE · Reading · hard
In the text below some words are missing. Drag words from the box below to the appropriate place in the text. To undo an answer choice, drag the word back to the box below the text.
Automatic memory management relieves software developers from manual deallocation by employing garbage collection algorithms. In a tracing collector, the runtime environment periodically traverses the graph of active object references, designating any reachable node as live. Once this traversal phase concludes, the system sweeps through memory to ____ unreferenced space. To minimize memory fragmentation, advanced implementations may also ____ surviving objects into contiguous regions, though this compaction requires updating every surviving pointer to preserve structural ____ without introducing excessive runtime ____.