Integrated: JDK-8302666: Replace CHM with VarHandle in ForeachOrderedTask

Viktor Klang duke at openjdk.org
Fri Mar 10 16:04:28 UTC 2023


On Tue, 31 Jan 2023 10:57:58 GMT, Viktor Klang <duke at openjdk.org> wrote:

> I noticed when looking at the code that there was no real need to use a CHM to perform the tracking of activation in an ordered fashion on ForEachOrderedTask, but instead a VarHandle can be used, reducing allocations and indirection.

This pull request has now been integrated.

Changeset: f2a36b4b
Author:    Viktor Klang <viktor.klang at oracle.com>
Committer: Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f2a36b4b529b1d74ca38633244dda092a15d50ac
Stats:     26 lines in 1 file changed: 17 ins; 6 del; 3 mod

8302666: Replace CHM with VarHandle in ForeachOrderedTask

Reviewed-by: psandoz

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

PR: https://git.openjdk.org/jdk/pull/12320


More information about the core-libs-dev mailing list