RFR: 8371965: Convert TaskQueueSuper to use Atomic<T>
Ivan Walulya
iwalulya at openjdk.org
Tue Nov 18 11:39:11 UTC 2025
On Mon, 17 Nov 2025 10:22:13 GMT, Kim Barrett <kbarrett 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!
-------------
Marked as reviewed by iwalulya (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28347#pullrequestreview-3477266982
More information about the hotspot-gc-dev
mailing list