RFR: 8273476: G1: refine G1CollectedHeap::par_iterate_regions_array_part_from [v4]

Hamlin Li mli at openjdk.java.net
Thu Sep 9 09:13:58 UTC 2021


On Thu, 9 Sep 2021 08:11:27 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix issue
>
> src/hotspot/share/gc/g1/g1CollectedHeap.hpp line 1158:
> 
>> 1156:   }
>> 1157:   void collection_set_iterate_increment_from(HeapRegionClosure *blk, HeapRegionClaimer* hr_claimer, uint worker_id);
>> 1158:   // Iterate an array of region indexes given by offset and length, applying
> 
> Since there's no `offset` in the signature, how about "Iterate over the array, `uint regions[length]`, applying ..."?

Sure.

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

PR: https://git.openjdk.java.net/jdk/pull/5414



More information about the hotspot-gc-dev mailing list