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

Thomas Schatzl tschatzl at openjdk.java.net
Mon Nov 8 15:03:43 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

This pull request has now been integrated.

Changeset: 7320b77b
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7320b77b3e451932ee8befa7af4b80593725761e
Stats:     17 lines in 2 files changed: 4 ins; 5 del; 8 mod

8276548: Use range based visitor for Howl-Full cards

Reviewed-by: ayang, sjohanss

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

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


More information about the hotspot-gc-dev mailing list