This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: URLClassLoader update


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]