JDK-8010738 : G1: Output for full GCs with +PrintGCDetails should contain perm gen/meta data size change info
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2013-03-25
  • Updated: 2014-10-15
  • Resolved: 2013-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u76Fixed 8Fixed hs25Fixed
Related Reports
Relates :  
If we run with -XX:+PrintGCDetails and G1 hits a full GC we get the log like below:

[Full GC (System.gc()) 696K->291K(7168K), 0.0186630 secs]

In this, perm gen info is not printed. Perm Gen info should also get printed on the Full GC info line similar to what other garbage collectors report:

[Full GC (System) [Tenured: 0K->290K(4480K), 0.0053810 secs] 694K->290K(6464K), [Perm : 2625K->2625K(21248K)], 0.0058610 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]

In hs25 we should print out the metaspace information and in hs24 we should print out the perm gen info. Ideally the refactoring introduced as part of 8010780 should be used but it needs to be backported to hs24.