JDK-6866591 : G1: print update buffer processing stats more often
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs16
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-07-29
  • Updated: 2013-09-18
  • Resolved: 2011-03-08
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 6 JDK 7 Other
6u18Fixed 7Fixed hs16Fixed
Right now, the information about how many update buffers have been processed can only be printed at the end of a run using the -XX:+G1SummarizeRSetStats diagnostic parameter. It'd be nice if we could print this information more regularly to see how it changes during a run.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/83b687ce3090

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/83b687ce3090

EVALUATION See Description.

SUGGESTED FIX I'm adding parameter -XX:G1SummarizeRSetStatsPeriod=N that will cause update buffer processing info to be dumped at every Nth GC.

SUGGESTED FIX The fix will also include two very minor formatting changes.