Integrated: 8374350: Convert hotspot gtests to use Atomic<T>

Kim Barrett kbarrett at openjdk.org
Tue Jan 6 15:05:19 UTC 2026


On Sat, 27 Dec 2025 05:20:52 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to convert HotSpot gtests to use Atomic<T> rather
> than directly using AtomicAccess.
> 
> test_atomicAccess.cpp is, of course, not subject to this conversion.
> 
> test_globalCounter.cpp is also not included in this conversion.  The other
> conversions were straight forward.  This test is less so, and I decided I
> needed to spend more time studying it, so have left it for followup work.
> 
> The conversion of each test is a separate commit, in case that makes it easier
> to review.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: e27309f1
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e27309f10d32695972f468df17b2535d36a746a2
Stats:     113 lines in 9 files changed: 6 ins; 0 del; 107 mod

8374350: Convert hotspot gtests to use Atomic<T>

Reviewed-by: aboldtch, iwalulya

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

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


More information about the hotspot-dev mailing list