Hi,

Java is a bit nasty in that it is difficult to "see" if during a OSGi UNLOAD 
everything that should be unloaded from memory has been unloaded.

Would it be possible to automate that??

For instance; if a 'management bundle' tracked which bundle export's which 
packages, couldn't it make sure that all classes on the heap in those 
packages are released from memory, and if not give some assistance in finding 
out why not? Would we need to integrate it tightly into the framework?

I realize that there are some tricky cases, as imports will be re-wired when 
the exports disappear, and that one bundle that does not export its packages 
may use those classes internally.


I guess Stuart is most qualified to give an educated guess on the complexity 
of this, but everyone else; Does this make sense?


Cheers
Niclas


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to