RFR: 8276548: Use range based visitor for Howl-Full cards [v2]

Stefan Johansson sjohanss at openjdk.java.net
Mon Nov 8 12:47:37 UTC 2021


On Fri, 5 Nov 2021 14:37:48 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Hi all,
>> 
>>   can I have reviews for this change that improves the way G1 iterates over Howl-Full containers (i.e. "Full" cardsetptrs within a Howl cardset container)? Instead of calling the visitor method `do_card` to mark a single card for all cards in the range, just call the range-based visitor method `do_card_range`. This is also a little bit more efficient.
>> 
>> This change is a requirement for [JDK-8275056](https://bugs.openjdk.java.net/browse/JDK-8275056).
>> 
>> Testing: tier1-5
>> 
>> Thanks,
>>   Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Improve chunk marking

Looks good.

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

Marked as reviewed by sjohanss (Reviewer).

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


More information about the hotspot-gc-dev mailing list