JDK-7096030 : G1: PrintGCDetails enhancements
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-28
  • Updated: 2013-09-18
  • Resolved: 2012-01-23
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
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
We'd like to enchance G1's PrintGCDetails output with the following changes:

Measure and report per-worker Parallel Other time, instead of an overall average (this way we can see if a particular worker had an unaccounted for phase).

The per-worker parallel time (the duration of the worker's work() method) is, in some cases, inconsistent than the global parallel time (the interval from when all workers are started to when all workers have finished). We have seen cases where the global parallel time is up to 35ms-37ms higher than the per-worker measurement. We suspect this is because some destructors are executed at the end of the work() method and outside the timing scope. We should fix that and make sure that those two measurements are consistent.

Reorder the reported times of the various GC phases to make sure their order reflects the actual order the phases take place in during a GC.

We suspect that the reported RS updating times include non-RS updating components. We should investigate this and fix as necessary.

Finally, print the number of eden, survivor, and old regions that are about to be collected.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/c6a6e936dc68
10-11-2011

EVALUATION See main CR
04-11-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c6a6e936dc68
24-10-2011

EVALUATION Excessive amount of space allocated from ResourceArea causing contention on runtime locks.
10-10-2011