RFR: JDK-8302666: Replace CHM with VarHandle in ForeachOrderedTask [v6]

Paul Sandoz psandoz at openjdk.org
Thu Mar 9 16:08:19 UTC 2023


On Thu, 2 Mar 2023 11:22:26 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.
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Removing unnecessary cast of argument to VarHandle getAndSet

Marked as reviewed by psandoz (Reviewer).

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

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


More information about the core-libs-dev mailing list