From: William Djaja Tjokroaminata Date: 2002-08-29T23:12:47+09:00 Subject: Re: Why Ruby Uses Mark-and-Sweep GC? Hi Matz, This is my second thought. Can the non GCed objects simply use "rb_gc_un/register_address()" when they have references to GCed objects (or a similar concept)? We are talking on the C side, of course; nothing on the Ruby side will change. Regards, Bill ============================================================================ Yukihiro Matsumoto wrote: > I don't think so. What if non GCed objects refer GCed objects? > We have to maintain some kind of "remembered set" (the list of GCed > objects referred from non GCed objects). Or we will have dangling > references. I believe such effort should be done by machines. (...deleted...)