This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Unloading classes
- From: Tom Tromey <tromey at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Anthony Green <green at redhat dot com>, <java at gcc dot gnu dot org>
- Date: 04 Nov 2002 14:18:30 -0700
- Subject: Re: Unloading classes
- References: <Pine.LNX.4.44.0211041157210.8926-100000@ops2.one-point.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> Mostly I was unclear on exactly what initiated_classes is for,
Jeff> and whether I could write a simple test for it.
We have to keep track of the initiating loaders for a class. Then if
we see a request for a class (when linking a class) via a class loader
already registered as an initiating loader, then we just return that
class.
That isn't too clear. The JVM Spec 2nd Ed. is a bit clearer.
Maybe we can't get rid of the registration after all. But we can
still add the explicit map in ClassLoader.
Tom