[jdk17u-dev] RFR: 8305670: Performance regression in LockSupport.unpark with lots of idle threads

Martin Doerr mdoerr at openjdk.org
Thu Jul 20 12:58:44 UTC 2023


On Thu, 20 Jul 2023 12:22:34 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.9-oracle.
> 
> I had to resolve one chunk due to NULL/nullptr differences.

LGTM, but please remove the empty line like in the original change.

src/hotspot/share/prims/unsafe.cpp line 848:

> 846:     }
> 847:   } // FastThreadsListHandle is destroyed here.
> 848: 

Original change removes this line.

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1604#pullrequestreview-1539203996
PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/1604#discussion_r1269421722


More information about the jdk-updates-dev mailing list