JDK-8038829 : G1: More useful information in a few assert messages
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-31
  • Updated: 2015-01-21
  • Resolved: 2014-04-01
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.
8u40Fixed 9 b08Fixed
In VerifyRegionListsClosure::doHeapRegion() the assert messages print the region_num() value of the heap region. This value is the the number of regions that a humongous object covers. It is only relevant for starts humongous regions. For all other regions this value is 1.

Most likely the intended value was hrs_index(), which is a sequential number enumerating all heap regions.