ExplicitGCInvokesConcurrentAndUnloadsClasses leaks PermGen
Jungwoo Ha
jwha at google.com
Thu Aug 15 00:37:44 UTC 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: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20130814/fa9e754e/attachment.htm>
More information about the hotspot-gc-dev
mailing list