From: "Weirich, James" Date: 2003-10-08T22:40:15+09:00 Subject: Re: GC and the stack > 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? Yes. The Ruby collector is a conservative collector, meaning that it will only find garbage, but might not find /all/ the garbage. -- -- Jim Weirich / Compuware -- Fidelity/FWP Capture Services -- Phone: 859-386-8855