RFR: 8371965: Convert TaskQueueSuper to use Atomic<T>

Thomas Schatzl tschatzl at openjdk.org
Thu Nov 20 10:08:57 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

Marked as reviewed by tschatzl (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28347#pullrequestreview-3486821784


More information about the hotspot-gc-dev mailing list