From: ts Date: 2003-12-09T00:22:11+09:00 Subject: Re: WeakRef and Object#hash >>>>> "R" == Robert Klemme writes: R> To prevent misunderstandings: I was talking about the Object instance, not R> "wr". Currently I can't see how opening class WeakRef and closing it R> without doing anything else affects the references to the newly created R> Object instance. Could you please clarify this? Thanks a lot! Object.new create a new reference : in reality this reference is one of the reference internally created by ruby when it has called class WeakRef; end When the GC run it will mark indirectly this reference, because it still have the struct which make reference to this object. Guy Decoux