Jump to content
Excelsior Forums
Sign in to follow this  
rwhite226

Class unloading

Recommended Posts

I am working on an app that has a plugin system that loads plugins (jars) with their own classloader. Under java I can see that when a plugin is stopped the classloader is finalized and collected. But under excelsior the finalize method is never called,  the memory usage increases over time (as plugins start and stop), and according to visualvm no classes are ever unloaded. Does excelsior jet simply never unload classes loaded my the jit compiler?

 

EDIT: On further investigation it seems that no classloader will be gc after it has loaded classes.

Edited by rwhite226

Share this post


Link to post
Share on other sites

Hello,

You both are right, for now Excelsior JET doesn't have Class GC.
We're working to make it possible, but it isn't the main priority for nearest releases.

Kind regards,
Igor Jorch,
Excelsior Support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×