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
This note was uploaded on 01/30/2012 for the course CS 354 taught by Professor Staff during the Fall '08 term at Purdue.
- Fall '08
- Operating Systems