From: nobu.nokada@... Date: 2003-10-08T20:44:47+09:00 Subject: Re: GC and the stack Hi, At Wed, 8 Oct 2003 20:08:13 +0900, Thomas Sondergaard wrote: > How does the ruby gc recognize what on the stack is a reference to a ruby > object? The types on and layout of the values in a particular stack frame is > not available at runtime is it? By whether a value points an object in the slots. See gc.c:is_pointer_to_heap(). -- Nobu Nakada