JDK-8211388 : Make OtherRegionsTable independent of the region it is for
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-10-02
  • Updated: 2018-11-06
  • Resolved: 2018-10-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.
JDK 12
12 b18Fixed
Related Reports
Relates :  
Description
The OtherRegionsTable is a set of a set of cards that comprises the remembered set.

It stores the HeapRegion it collects cards for to do filtering in the FromCardCache. The set of cards should not have knowledge about what region it is for, from an abstraction POV it should just be a dumb container of cards.

Move out the HeapRegion id from OtherRegionsTable (the "set of cards") into the enclosing HeapRegionRememberedSet (managing set of cards), separating the FCC functionality from the raw data storage.

This will make code that assigns a HeapRegionRememberedSet to multiple regions in the future a bit simpler too.