Perf Impact of CMSClassUnloadingEnabled
Martin Hare Robertson
mchr3k at gmail.com
Sat Nov 5 15:29:10 PDT 2011
Hi,
I recently encountered an interesting GC issue with a Tomcat application. I
came up with a simple repro scenario which I posted to StackOverflow:
http://stackoverflow.com/questions/8017193/when-does-the-perm-gen-get-collected
To solve this issue I have been encouraged to use
-XX:+CMSClassUnloadingEnabled.
I currently use the following GC configuration.
-XX:+UseMembar
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseCMSInitiatingOccupancyOnly
Is enabling CMSClassUnloadingEnabled likely to have a negative perf impact?
If not, why is it disabled by default?
Thanks
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20111105/5d3c6043/attachment.html
More information about the hotspot-gc-use
mailing list