This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: URLClassLoader update
- From: Tom Tromey <tromey at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Mark Wielaard <mark at klomp dot org>, <java-patches at gcc dot gnu dot org>
- Date: 03 Dec 2002 15:19:11 -0700
- Subject: Re: URLClassLoader update
- References: <Pine.LNX.4.44.0212031636210.24066-100000@ops2.one-point.com>
- Reply-to: tromey at redhat dot com
>>>>> "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