[Gc] Circular references

Bruce Hoult bruce at hoult.org
Wed Feb 27 02:09:33 PST 2008

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).

More information about the Gc mailing list