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

Albert Mingkun Yang ayang at openjdk.java.net
Fri Nov 5 13:50:14 UTC 2021


On Wed, 3 Nov 2021 11:39:02 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

Marked as reviewed by ayang (Reviewer).

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

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


More information about the hotspot-gc-dev mailing list