JDK-8336086 : G1: Use one G1CardSet instance for all young regions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-07-10
  • Updated: 2024-11-07
  • Resolved: 2024-08-15
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 24
24 b12Fixed
Related Reports
Relates :  
Relates :  
Description
We currently have this 1:1 mapping of region and remembered set, as well as a 1:1 mapping between remembered set and G1CardSet. For young gen regions that are always collected together, we can have a single remembered set assigned to all the young regions. The easiest way to achieve this is to have one G1CardSet assigned to all young regions.

The expected benefit is reduction in the memory overhead of the remembered set and the remembered set merge time during collection pause.
Comments
Changeset: f536f5ab Branch: master Author: Ivan Walulya <iwalulya@openjdk.org> Date: 2024-08-15 08:26:22 +0000 URL: https://git.openjdk.org/jdk/commit/f536f5ab68235d27e9708674f707bcbff7840730
15-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20134 Date: 2024-07-11 09:45:37 +0000
11-07-2024