RFR: 8376195: Convert ThreadLocalAllocBuffer to use Atomic<T>

Kim Barrett kbarrett at openjdk.org
Sat Jan 24 23:17:51 UTC 2026


On Fri, 23 Jan 2026 12:35:03 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review the change to use `Atomic<T>` in `ThreadLocalAllocBuffer`.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

While looking at ThreadLocalAllocBuffer I noticed this comment that seems stale/dead:
https://github.com/openjdk/jdk/blob/a40dbce495db9959624b72ff619e2e7ae7f7fb8b/src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp#L37-L39

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

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


More information about the hotspot-dev mailing list