Integrated: 8371965: Convert TaskQueueSuper to use Atomic<T>
Kim Barrett
kbarrett at openjdk.org
Thu Nov 20 23:12:31 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
This pull request has now been integrated.
Changeset: 45246bc7
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/45246bc72daf68b905d7342f478e53bfe2883796
Stats: 87 lines in 1 file changed: 44 ins; 25 del; 18 mod
8371965: Convert TaskQueueSuper to use Atomic<T>
Reviewed-by: iwalulya, tschatzl
-------------
PR: https://git.openjdk.org/jdk/pull/28347
More information about the hotspot-gc-dev
mailing list