ExplicitGCInvokesConcurrentAndUnloadsClasses leaks PermGen
jwha at google.com
Wed Aug 14 17:37:44 PDT 2013
Is ExplicitGCInvokesConcurrentAndUnloadsClasses guaranteed to unload all
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
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev