RFR: 8376195: Convert ThreadLocalAllocBuffer to use Atomic<T> [v3]

Thomas Schatzl tschatzl at openjdk.org
Wed Feb 4 15:30:30 UTC 2026


On Wed, 4 Feb 2026 11:19:43 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review the change to use `Atomic<T>` in `ThreadLocalAllocBuffer`.
>> 
>> Testing: gha
>> 
>> Thanks,
>>   Thomas
>
> Thomas Schatzl has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
> 
>  - Merge branch 'master' into 8376195-convert-threadallocbuffer
>  - * revert to original patch sans comment fixes and removal of unused code
>  - Revert "* kbarrett review"
>    
>    This reverts commit cca44442636ff7e0357adf60e402b788070c2a64.
>  - Revert "* kbarrett review"
>    
>    This reverts commit 4fc931e75a7c9911d7a9a4b6f14dc7d91d52d280.
>  - * kbarrett review
>  - * kbarrett review
>  - 8376195
>    
>    Hi all,
>    
>      please review the change to use `Atomic<T>` in `ThreadLocalAllocBuffer`.
>    
>    Testing: gha
>    
>    Thanks,
>      Thomas

We discussed this a bit offline, and we will keep the `AtomicAccess` use here, and provide documentation why in a separate issue. Closing this out.

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

PR Comment: https://git.openjdk.org/jdk/pull/29386#issuecomment-3848107918


More information about the hotspot-dev mailing list