RFR: 8367731: G1: Make G1CollectionSet manage the young gen cset group [v2]

Ivan Walulya iwalulya at openjdk.org
Tue Sep 23 09:16:56 UTC 2025


On Tue, 23 Sep 2025 09:10:50 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
>
> Thomas Schatzl has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Merge branch 'master' into 8367731-g1collectionset-manage-young-gen-group
>  - * comment update
>  - * let collectionset manage the young regions group card set

Marked as reviewed by iwalulya (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27312#pullrequestreview-3256994846


More information about the hotspot-gc-dev mailing list