RFR: 8276047: G1: refactor G1CardSetArrayLocker
Thomas Schatzl
tschatzl at openjdk.java.net
Wed Oct 27 09:14:12 UTC 2021
On Wed, 27 Oct 2021 08:52:08 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple refactoring in `G1CardSetArrayLocker`:
>
> 1. rename fields to sth more explicit
> 2. drop `volatile` for thread-local variables
> 3. increment directly without treating `bool` as an integer
>
> Test: hotspot_gc
Lgtm.
-------------
Marked as reviewed by tschatzl (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6134
More information about the hotspot-gc-dev
mailing list