RFR: 8374350: Convert hotspot gtests to use Atomic<T> [v2]

Ivan Walulya iwalulya at openjdk.org
Tue Jan 6 13:43:51 UTC 2026


On Fri, 2 Jan 2026 10:08:26 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
>
> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update copyrights

Looks good!

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

Marked as reviewed by iwalulya (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29001#pullrequestreview-3630942129


More information about the hotspot-dev mailing list