Garbage collectors do NOT hunt down garbage! They trace what is STILL ALIVE starting from GC Roots, copy survivors aside, and reclaim everything untouched in O(live) rather than O(total garbage) time—relying on Safepoints and Write Barriers to stay sound alongside concurrent threads.
More lessons in Complete Core Java