[ruby-talk:02329] Re: [Q]: _id2ref broken?

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-01 08:14:49 UTC
List: ruby-talk #2329
Hi,

In message "[ruby-talk:02316] Re: [Q]: _id2ref broken?"
    on 00/04/01, Clemens Hintze <c.hintze@gmx.net> writes:

|> Listen, Clemens, exporting a reference from _id2name in finalizer is
|> really really dangerous in current implementation.  So I prohibited.
|> Your trial (calling `finalize' method of unreferenced object) is
|> taking exactly this risk.  Java-like two phase GC may solve this
|> problem but I'm sure it would be performance penalty.
|
|Ouch!!! Please do not beat me too hard ;-)

I was trying to be as gentle as possible not to make you feel bad.
I'm afraid I didn't succeed. :-)

							matz.

In This Thread

Prev Next