RFR: 8375535: G1: Convert CardTableBarrierSet and subclasses to use Atomic<T> [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 2 15:43:59 UTC 2026


> 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

Thomas Schatzl has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'master' into submit/8375535-use-atomic-t-cardtablebarrierset
 - 8375535
   
   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

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

Changes: https://git.openjdk.org/jdk/pull/29360/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29360&range=01
  Stats: 35 lines in 7 files changed: 6 ins; 0 del; 29 mod
  Patch: https://git.openjdk.org/jdk/pull/29360.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29360/head:pull/29360

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


More information about the hotspot-dev mailing list