From: Thomas Sondergaard Date: 2003-10-08T22:28:58+09:00 Subject: Re: GC and the stack > By whether a value points an object in the slots. See > gc.c:is_pointer_to_heap(). Okay. What if, in an extension, I have an integer on the stack that just happens to contain a value that interpreted as a pointer points into a valid point in the heap. Will that prevent the "pointed to" object from being gc'ed? Could you outline how the stack is processed? Is it just treated as a continuous block of memory and scanned for dwords that "point" into the heap? Understanding this would be most helpful! Thank you, Thomas