RFR: 8365026: G1: Initialization should start a "full" new collection set

Kim Barrett kbarrett at openjdk.org
Thu Aug 14 07:00:10 UTC 2025


On Thu, 7 Aug 2025 10:05:52 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that makes G1 start a "full" new collection set at initialization time, calling `G1CollectedHeap::start_new_collection_set()`.
> 
> Previously G1 only did part of that (start incremental building only), on a not-fully initialized collection set instance. It works, but is not nice.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26673#pullrequestreview-3119250472


More information about the hotspot-gc-dev mailing list