Unloading classes

Tom Tromey tromey@redhat.com
Mon Nov 4 13:25:00 GMT 2002

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

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.


More information about the Java mailing list