Integrated: 8276047: G1: refactor G1CardSetArrayLocker

Albert Mingkun Yang ayang at openjdk.java.net
Fri Oct 29 09:10:14 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

This pull request has now been integrated.

Changeset: 24cf4800
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/24cf48000ac154eac67b617e2a63557f21032907
Stats:     21 lines in 2 files changed: 3 ins; 4 del; 14 mod

8276047: G1: refactor G1CardSetArrayLocker

Reviewed-by: tschatzl, sjohanss

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

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



More information about the hotspot-gc-dev mailing list