Reference Counting is a memory-management technique that tracks how many references point to an object.
This description distinguishes it from the other choices.
Correct Answer: C. cycles can prevent unreachable objects from being reclaimed
Explanation:
The defining property is that cycles can prevent unreachable objects from being reclaimed.
The other statements describe different structures or concepts.
Reference Counting fits because it supports immediate reclamation when the count reaches zero and cycles can prevent unreachable objects from being reclaimed.
Both clues point to this choice.
Memory Pool is a preallocated region from which objects are repeatedly obtained and returned.
This description distinguishes it from the other choices.
Correct Answer: C. it reuses blocks instead of requesting each one separately from the system
Explanation:
The defining property is that it reuses blocks instead of requesting each one separately from the system.
The other statements describe different structures or concepts.
Memory Pool fits because it supports reducing allocation overhead and it reuses blocks instead of requesting each one separately from the system.
Both clues point to this choice.
Correct Answer: C. reachability analysis helps determine which objects can be reclaimed
Explanation:
The defining property is that reachability analysis helps determine which objects can be reclaimed.
The other statements describe different structures or concepts.
Garbage Collection fits because it supports memory management in managed runtimes and reachability analysis helps determine which objects can be reclaimed.
Both clues point to this choice.