JDK-8233012 : Improve G1 ergonomics for G1RSetRegionEntries(Base)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-10-25
  • Updated: 2021-08-31
  • Resolved: 2021-08-31
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
The ergonomically determined maximum number of fine PRTs for a single remembered set is determined by G1RSetRegionEntriesBase.

If a remembered set has more than that fine PRTs, it starts coarsening random others.

Ergonomics only takes region size into account, but not actual number of regions, so if you have a large heap (and/or small region size), the default ergonomics are too low.

G1RSetRegionEntries should be sized with  the number of regions too to avoid the significant performance penalty.