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

Thomas Schatzl tschatzl at openjdk.org
Thu Aug 21 09:41:03 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

This pull request has now been integrated.

Changeset: ed260e8c
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ed260e8cae329a0c077e91ff76d104ee197fb7fd
Stats:     8 lines in 3 files changed: 3 ins; 4 del; 1 mod

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

Reviewed-by: ayang, kbarrett

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

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


More information about the hotspot-gc-dev mailing list