From: matz@... (Yukihiro Matsumoto) Date: 2002-08-26T23:46:35+09:00 Subject: Re: Why Ruby Uses Mark-and-Sweep GC? Hi, In message "Re: Why Ruby Uses Mark-and-Sweep GC?" on 02/08/26, William Djaja Tjokroaminata writes: |Thanks for the response. Yes, after examining the codes further, it seems |that rb_gc_register_address() and rb_gc_unregister_address() will not |accomplish what I want. Using rb_gc_unregister_address() will only result |in the object being not-marked, but not being not-swept. I think what you want is contradicting with mark&sweep GC, which Ruby uses you know. If you want to have objects out of GC sweep, you have to define something handle "these objects" as a collection. See NArray for example. matz.