JDK-8213997 : Remove G1HRRSUseSparseTable flag
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-11-16
  • Updated: 2018-11-29
  • Resolved: 2018-11-22
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 12
12 b22Fixed
Related Reports
Relates :  
Description
Remove the develop flag G1HRRSUseSparseTable as it's never used anyway, and if you need it for some (performance) testing, you need to rebuild anyway as it is a develop flag.

At that point (i.e. when you are already taking that much effort) you may as well add a `if (false &&` in the relevant condition manually.

A further problem is that the flag does not completely remove the sparse PRTs, they still take memory.