RFR: 8371965: Convert TaskQueueSuper to use Atomic<T>
Kim Barrett
kbarrett at openjdk.org
Thu Nov 20 23:12:29 UTC 2025
On Tue, 18 Nov 2025 11:36:18 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
>> Please review this change to TaskQueueSuper to use Atomic<T> rather than
>> directly applying AtomicAccess to (sometimes!) volatile members. There was
>> some sketchy stuff around TaskQueueSuper::Age. This has been cleaned up by
>> hoisting that class to namespace scope (now called TaskQueueAge) and declaring
>> a PrimitiveConversion::Translate for it.
>>
>> Testing: mach5 tier1-5
>
> Looks good!
Thanks for reviews @walulyai and @tschatzl
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28347#issuecomment-3560529041
More information about the hotspot-gc-dev
mailing list