RFR: 8374695: ZGC: Convert zTLABUsage to use Atomic<T>

Stefan Karlsson stefank at openjdk.org
Fri Jan 16 09:36:41 UTC 2026


On Fri, 16 Jan 2026 09:11:09 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> Convert usages of AtomicAccess to Atomic<T> in zTLABUsage.
> 
> Testing:
>  * GHA
>  * HotSpot GC tests with ZGC linux x64 and linux aarch64

src/hotspot/share/gc/z/zTLABUsage.hpp line 46:

> 44: private:
> 45:   // Accounting TLAB used until the next GC cycle
> 46:   Atomic<size_t>  _used;

Extra space in member indentation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29271#discussion_r2697693949


More information about the hotspot-gc-dev mailing list