RFR: 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:18 UTC 2025


On Thu, 20 Nov 2025 10:51:15 GMT, Ivan Walulya <iwalulya 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
>
> Trivial!

Thanks @walulyai @albertnetymk for your reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/28419#issuecomment-3558755053


More information about the hotspot-gc-dev mailing list