Integrated: 8365034: G1: Remove num_groups_selected in G1CollectionSet::select_candidates_from_optional_groups as it is unnecessary

Thomas Schatzl tschatzl at openjdk.org
Mon Aug 25 07:46:09 UTC 2025


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

> Hi all,
> 
>   please review this removal of the local `num_selected_regions` from `G1CollectionSet::select_candidates_from_optional_groups()` - the same information is maintained within the local `selected_groups` list.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 28bd29f3
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/28bd29f3963938f3846e68f33ac3648b2ba101f4
Stats:     4 lines in 1 file changed: 0 ins; 2 del; 2 mod

8365034: G1: Remove num_groups_selected in G1CollectionSet::select_candidates_from_optional_groups as it is unnecessary

Reviewed-by: ayang, iwalulya

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

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


More information about the hotspot-gc-dev mailing list