ExplicitGCInvokesConcurrentAndUnloadsClasses leaks PermGen

Jungwoo Ha jwha at google.com
Wed Aug 14 17:37:44 PDT 2013


Hi,

Is ExplicitGCInvokesConcurrentAndUnloadsClasses guaranteed to unload all
unused classes?
We installed weak reference on the class objects to see none of the class
objects are leaked.
When using STW Explict GC all of the unused classes are unloaded,
but when using above flag, only some are get unloaded.
I double-checked the GC log and waited until the concurrent GC to finish
its job.
Is this an expected behavior or a bug?
BTW, The leak detecting code using weak reference is used for a long time,
which I think is quite stable.
Any comments are appreciated!

Thanks,
Jungwoo Ha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20130814/fa9e754e/attachment.html 


More information about the hotspot-gc-dev mailing list