Integrated: 8375436: G1: Convert G1CardSet classes to use Atomic<T>
Thomas Schatzl
tschatzl at openjdk.org
Mon Jan 26 09:15:09 UTC 2026
On Fri, 16 Jan 2026 09:31:59 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this removal of use of the AtomicAccess class in G1 card set related classes, replacing with use of Atomic<T>.
>
> Although a bit on the large side, it would be hard to do the card set changes separately per class. Other than that I think it is fairly straightforward, except for the addition of a copy constructor for `G1CardSetHashTableValue` because the `ConcurrentHashTable` requires it.
>
> Testing: gha
>
> Thanks,
> Thomas
This pull request has now been integrated.
Changeset: 2af271e5
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2af271e5e64260f05c01cb94bcf95f80fd69b4ff
Stats: 119 lines in 6 files changed: 9 ins; 4 del; 106 mod
8375436: G1: Convert G1CardSet classes to use Atomic<T>
Reviewed-by: kbarrett, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/29274
More information about the hotspot-gc-dev
mailing list