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

Kim Barrett kbarrett at openjdk.org
Mon Feb 2 16:06:34 UTC 2026


On Mon, 2 Feb 2026 15:43:59 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
>
> 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

Still good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29360#pullrequestreview-3740383119


More information about the hotspot-dev mailing list