Proposal: @Unloadable Class defination

Florian Weimer fw at deneb.enyo.de
Tue Mar 24 12:50:38 PDT 2009


* Joseph D. Darcy:

> What would that mean exactly to all those poor objects on the heap 
> needing that classloader?

I suppose the idea is that the classes can be garbage-collected once
all the objects referencing it are gone.  If they are needed again,
they are reloaded and re-initialized, receiving a different identity.

It might be possible to implement this in the present JDK 7, using a
custom class loader which turns those annoated classes into anonymous
classes.



More information about the coin-dev mailing list