Integrated: 8367731: G1: Make G1CollectionSet manage the young gen cset group

Thomas Schatzl tschatzl at openjdk.org
Tue Sep 23 11:49:53 UTC 2025


On Tue, 16 Sep 2025 10:15:55 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that lets the collection set manage the young cset candidate group directly. Currently everywhere the collection set (not "containing" the young cset candidate group) is used, we immediately do the same thing for the young gen candidate group in the same place.
> 
> This makes it kind of natural to put together (and the `G1CollectionSet` already manages adding new regions to the young gen cset group anyway, so that split in responsibility is questionable anyway).
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 02c78bb4
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/02c78bb47e3a9cc8760dd0d0970bb9855f9909d3
Stats:     65 lines in 8 files changed: 26 ins; 29 del; 10 mod

8367731: G1: Make G1CollectionSet manage the young gen cset group

Reviewed-by: iwalulya, ayang

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

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


More information about the hotspot-gc-dev mailing list