RFR: 8296954: G1: Enable parallel scanning for heap region remset

Thomas Schatzl tschatzl at openjdk.org
Fri Nov 18 13:16:58 UTC 2022


On Tue, 15 Nov 2022 17:57:24 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi all, 
> 
> Please review this change that allows parallel scanning of a heap region's remembered set.  More balanced work load distribution in cases where are cards are unevenly distributed among remembered sets.
> 
> Testing: Tier 1-3
> 
> Thanks

Lgtm.

src/hotspot/share/gc/g1/g1RemSet.cpp line 919:

> 917:   uint hrm_index = r->hrm_index();
> 918: 
> 919:   // we call prepare_remset_for_scan unconditionally because optional evacuation doesn't not call this method again.

Suggestion:



I do not think there is need for a comment here.

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

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11173


More information about the hotspot-dev mailing list