This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Collection Global Vars Stack Register s Mark and Sweep Garbage Collection The program needs to stop all the threads while the GC is taking place. This is done because if the pointers change while the GC is taking place, some reachable objects may be unmarked and can be erroneously collected. Stopping all the threads except the GC thread is called Stop-the-word....
View Full Document
- Fall '08
- Operating Systems