RFR: 8372149: G1: Remove unnecessary num_added_to_group from G1CollectionSetCandidates::set_candidates_from_marking()
Albert Mingkun Yang
ayang at openjdk.org
Thu Nov 20 11:33:27 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
Marked as reviewed by ayang (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28419#pullrequestreview-3487307274
More information about the hotspot-gc-dev
mailing list