Skip to content

English practice

Highlight Correct Summary · Question 527

Mechanics of garbage collection

PTE · Listening · hard

You will hear a recording. Click on the paragraph that best relates to the recording.

Which paragraph best summarizes the recording?

  • Automatic garbage collection requires programmers to manually sweep heap memory references from root variables, eliminating runtime pauses but increasing the danger of pointer corruption.
  • Modern programming runtimes avoid memory allocation entirely by storing application variables exclusively within active stack pointers rather than dynamic heap memory.
  • Garbage collection identifies and reclaims unreachable heap objects by tracing references outward from root variables, exchanging slight execution latency for enhanced memory safety.