Tuning advice

Jon Masamitsu Jon.Masamitsu at Sun.COM
Thu Mar 13 12:35:32 UTC 2008


Florian Weimer wrote On 03/12/08 23:58,:

>* Kurt Shaffer:
>
>  
>
>>1) Set -XX:+UseConcMarkSweepGC  to turn on the 'low pause'
>>ConcurentMarkSweep Collector of the old area. 
>>    
>>
>
>This doesn't help on its own because you seem to be dealing with Full
>GCs and explicit GC invocations.  The latter result in Full GCs even
>with the CMS collector by default.
>
>I think a switch to turn those explicit GC invocations into concurrent
>ones has recently been posted, but I can't find the message right now.
>  
>

In jdk6 you can turn on -XX:+ExplicitGCInvokesConcurrent with the CMS
collector to do concurrent collections for System.gc() instead of the
stop-the-world Full GC.

_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list