JDK-8227224 : GenCollectedHeap: add subspace transitions for young gen for gc+heap=info log lines
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-07-03
  • Updated: 2019-09-26
  • Resolved: 2019-08-30
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 14
14 b13Fixed
Related Reports
Relates :  
Relates :  
Description
Currently, the gc+heap=info log lines for GenCollectedHeap look as follows:

Serial:

[10.838s][info][gc,heap      ] GC(29) DefNew: 551835K->1306K(619328K)
[10.838s][info][gc,heap      ] GC(29) Tenured: 1166K->1166K(1376256K)

CMS:

[30.189s][info][gc,heap      ] GC(326) ParNew: 552345K->1814K(619328K)
[30.189s][info][gc,heap      ] GC(326) CMS: 1325K->1325K(1376256K)

Similarly to JDK-8223575, it will be vey helpful to add size transitions for the young gen sub spaces (at least Eden and From-Space).

While I'm at it, I'll also add the capacity before the GC (again, similar to the change for JDK-8223575) as, in certain situations, it can change during the GC.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/374f3f9dda6f User: tonyp Date: 2019-08-30 19:03:51 +0000
30-08-2019