Integrated: 8364925: G1: Improve program flow around incremental collection set building

Thomas Schatzl tschatzl at openjdk.org
Thu Aug 21 09:22:02 UTC 2025


On Wed, 6 Aug 2025 15:52:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that improves the G1CollectionSet incremental state handling slightly:
> 
> * remove `_selected_groups_cur_length` with getter as we do not need a copy of that value around
> * move implementations of some methods from header files into cpp file
> * moved some incremental state updates from `finalize_old_part` to the respective `start/continue/stop_incremental_building` method
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: b735ef99
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b735ef99b2285ec55a68896de25d29a02fdfcaf7
Stats:     52 lines in 2 files changed: 29 ins; 16 del; 7 mod

8364925: G1: Improve program flow around incremental collection set building

Reviewed-by: ayang, iwalulya

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

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


More information about the hotspot-gc-dev mailing list