RFR: 8367731: G1: Make G1CollectionSet manage the young gen cset group [v3]
Thomas Schatzl
tschatzl at openjdk.org
Tue Sep 23 09:54:21 UTC 2025
> 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 incrementally with one additional commit since the last revision:
* failed to save file with changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27312/files
- new: https://git.openjdk.org/jdk/pull/27312/files/62805728..ac100719
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27312&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27312&range=01-02
Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27312.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27312/head:pull/27312
PR: https://git.openjdk.org/jdk/pull/27312
More information about the hotspot-gc-dev
mailing list