[Gc] Circular references

Andrew Haley aph at redhat.com
Wed Feb 27 02:12:26 PST 2008

Bruce Hoult wrote:
> On Wed, Feb 27, 2008 at 11:00 PM, Andrew Haley <aph at redhat.com> wrote:
>>  > "Any finalizable object that is reachable from itself by following one
>>  > or more pointers will not be finalized (or collected)."
>>  Ouch!  I didn't know that.  I wonder what impact that has on Java.
> That's why there is a different call to register finalizers for Java.


> Mind you, the Java rules are evil and dangerous and misguided and most
> Java programs using finalizers are as a result very likely to be buggy
> (even if they seem to work).

Yeah, I know that.  :-)  It was conformance with the language specification
I was worried about.  


More information about the Gc mailing list