Integrated: 8375535: G1: Convert CardTableBarrierSet and subclasses to use Atomic<T>

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 2 16:06:37 UTC 2026


On Thu, 22 Jan 2026 12:58:39 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   use `Atomic<T>` instead of `AtomicAccess` in `CardTableBarrierSet` and subclasses. Since this modifies `CardTableBarrierSet::_card_table` the change has some fan-out.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 9871e2d3
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9871e2d3f771ee2bc1b2473c0eb28a0bfc1c5456
Stats:     35 lines in 7 files changed: 6 ins; 0 del; 29 mod

8375535: G1: Convert CardTableBarrierSet and subclasses to use Atomic<T>

Reviewed-by: kbarrett, iwalulya

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

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


More information about the hotspot-dev mailing list