RFR: 8276047: G1: refactor G1CardSetArrayLocker
Albert Mingkun Yang
ayang at openjdk.java.net
Fri Oct 29 09:10:13 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
Thanks for the review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6134
More information about the hotspot-gc-dev
mailing list