Requesting for approval for pushing the following fix to jdk7u-dev:
JDK-8010738 <https://bugs.openjdk.java.net/browse/JDK-8010738>: G1: Output for full GCs with +PrintGCDetails should contain perm gen/meta data size change info Webrev:http://cr.openjdk.java.net/~poonam/8010738/webrev.00/ Reviewed By: Jon Masamitsu, Thomas Schatzl Review thread: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2014-April/009931.html Problem and fix: With JDK7 G1GC when we use -XX:+PrintGCDetails option, PermGen information does not get printed in the Full GC logs as shown below: [Full GC 16M->16M(20M), 0.7055536 secs] [Eden: 0.0B(1024.0K)->0.0B(1024.0K) Survivors: 0.0B->0.0B Heap: 16.7M(20.0M)->16.7M(20.0M)] PermGen info should also get printed with Full GC info similar to what other garbage collectors report. These changes are backport of the fix in jdk8 where MetaSpace info gets printed in the Full GC logs. Thanks, Poonam