Integrated: 8372149: G1: Remove unnecessary num_added_to_group from G1CollectionSetCandidates::set_candidates_from_marking()
Thomas Schatzl
tschatzl at openjdk.org
Thu Nov 20 15:51:19 UTC 2025
On Thu, 20 Nov 2025 10:18:29 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this tiny change to remove some local variable (and management) in G1. The one use of the getter from the container is just as easy to understand to me (vs. declaration and management).
>
> Testing: gha
>
> Thanks,
> Thomas
This pull request has now been integrated.
Changeset: 267ce917
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/267ce91766c0500485ac3d9d36dfef0c09505498
Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
8372149: G1: Remove unnecessary num_added_to_group from G1CollectionSetCandidates::set_candidates_from_marking()
Reviewed-by: iwalulya, ayang
-------------
PR: https://git.openjdk.org/jdk/pull/28419
More information about the hotspot-gc-dev
mailing list