ParNew pauses longer in JDK7

Shane Cox Shane.Cox at theice.com
Wed Jan 8 05:05:16 PST 2014


While benchmarking my application on JDK7, I noticed that minor GC pauses are longer compared to JDK6.  One clue may relate to heap size.  I noticed that heap size (Xmx) has much more impact on minor GC in JDK7.  This is what I have observed:

JDK6 w/ 1GB heap:  avg minor GC pause = 3.9ms
JDK6 w/ 10GB heap:  avg minor GC pause = 3.9ms
JDK7 w/ 1GB heap:  avg minor GC pause = 5ms
JDK7 w/ 10GB heap: avg minor GC pause = 13.3ms

GC logs attached.  Platform info below.

Any help understanding this behavior would be appreciated.

java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

-d64 -Xms1000m -Xmx1000m -XX:MaxNewSize=168M -XX:PermSize=48m -XX:MaxPermSize=96m -Xnoclassgc -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 -XX:+PrintGCDateStamps -XX:+PrintGCDetails -verbose:gc -Xloggc:./logs/gc-output.log

HP ProLiant DL360 G7
Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Linux ll-lt-fxmr-03 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Feb 20 12:17:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

________________________________
This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20140108/08531ea5/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcLogs.tar.gz
Type: application/x-gzip
Size: 69885 bytes
Desc: gcLogs.tar.gz
Url : http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20140108/08531ea5/gcLogs.tar-0001.gz 


More information about the hotspot-gc-use mailing list