This is the mail archive of the java@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: Unloading classes


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


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