<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Doing class unloading with CMS will often increase the remark pause
times<br>
and so is not on by default. <br>
<br>
On 11/5/2011 3:29 PM, Martin Hare Robertson wrote:
<blockquote
cite="mid:CA+41Qxos87ROt57vanm8PaOiEE2S9XaCc27RjL9S6HBfATmG4Q@mail.gmail.com"
type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/8017193/when-does-the-perm-gen-get-collected">http://stackoverflow.com/questions/8017193/when-does-the-perm-gen-get-collected</a>
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
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
hotspot-gc-use mailing list
<a class="moz-txt-link-abbreviated" href="mailto:hotspot-gc-use@openjdk.java.net">hotspot-gc-use@openjdk.java.net</a>
<a class="moz-txt-link-freetext" href="http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use">http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use</a>
</pre>
</blockquote>
</body>
</html>