[Gc] Regarding Stack Bottom
hans_boehm at hp.com
Tue Feb 17 11:17:47 PST 2004
The collector needs to know the base of the main stack (GC_stackbottom), since it needs
to find all pointers stored on the stack. To do so in the single-threaded case, it scans
memory between GC_stackbottom and the current stack pointer. In the multithreaded case,
GC_stackbottom may still be needed for the main thread; all other stack bases are usually
identified by intercepting thread creation, but this doesn't work for the
I also updated the mark phase description in https://www.hpl.hp.com/personal/Hans_Boehm/gc/gcdescr.html
to be a bit more explicit about this.
From: vasantha selvi
Sent: Tuesday, February 17, 2004 6:34 AM
What is the need for StackBottom for GC? What the places it have been used by GC?
More information about the Gc