From: William Djaja Tjokroaminata Date: 2002-08-26T23:39:49+09:00 Subject: Re: Why Ruby Uses Mark-and-Sweep GC? Thanks for the pointer, but if I am not mistaken, rb_gc_force_recycle() is used to "sweep" an object immediately. My objective, on the other hand, is to create valid Ruby objects that will never be swept by Ruby's own gc (probably only if I can create a second "heaps"?) Regards, Bill =========================================================================== ts wrote: >>>>>> "W" == William Djaja Tjokroaminata writes: > W> It seems that a valid VALUE can only be obtained from "freelist", which is > rb_gc_force_recycle() > but be *VERY* carefull with this > Guy Decoux