URLClassLoader update

Tom Tromey tromey@redhat.com
Tue Dec 3 14:21:00 GMT 2002


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> Reconstructed from bytecode (and memory).  The singleton pattern
Jeff> is used as a class finalizer.

I figured it had to be that.

Hans, in this case I think what we're seeing is that the GC loses
track of an interpreted class.  This is probably not a GC bug, though.
Our ClassLoader doesn't keep a strong reference to the classes it
defines.  Jeff has a partial patch to fix this (see the main list; my
testing showed other problems with his raw patch, more study is
required).

I'm more concerned about the recent weak reference bug.  Though the
first place to look for that one is the reference code in libgcj,
given that it hasn't been heavily stressed like the GC.

Tom



More information about the Java-patches mailing list