On 6/8/11 11:43, Felix Meschberger wrote:
In fact, what we do in the Sling launcher is that we create "root" class
loader to load the framework with and on framework restart we throw away
the old one and create a new one.

I think this further helps PermGen GC --- but I would be happy to learn
that I am wrong ;-)

That likely more robust. I think there are issues that can't be addressed otherwise, such as uninstalling system bundle extensions that have added stuff to the framework class path...but if you aren't doing anything too wacky, then Framework.update() should be ok.

-> richard

Regards
Felix


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to