Integrated: 8336086: G1: Use one G1CardSet instance for all young regions

Ivan Walulya iwalulya at openjdk.org
Thu Aug 15 08:28:59 UTC 2024


On Thu, 11 Jul 2024 09:45:37 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi all,
> 
> Please review this change to assign a single G1CardSet to all young regions. As young regions are collected at the same, and we do not have young-to-young remembered sets, we can maintain a single G1CardSet for all young regions.
> 
> This reduces the memory overhead of the G1CardSets and the time taken to merge per region G1CardSets during GC pause.
> 
> Testing: Tier 1-5

This pull request has now been integrated.

Changeset: f536f5ab
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f536f5ab68235d27e9708674f707bcbff7840730
Stats:     183 lines in 21 files changed: 150 ins; 10 del; 23 mod

8336086: G1: Use one G1CardSet instance for all young regions

Reviewed-by: tschatzl, ayang

-------------

PR: https://git.openjdk.org/jdk/pull/20134


More information about the hotspot-gc-dev mailing list