[Gc] Heap not emptying?
mike at plan99.net
Sat Aug 12 02:01:25 PDT 2006
On 8/12/06, Andrew Haley <aph at redhat.com> wrote:
> Compile with gc debugging turned on and you'll be able to ask where
> everything is being referenced from. I suspect it'll be the stack,
> but try it and see.
OK, will do so, however unless it's picking up garbage from below the
current stack pointer, surely the GC should not see anything? I'm
testing this at a point just after main, where there is nothing on the
stack (except whatever the OS loader places there).
More information about the Gc