RFR: 8320317: ObjectMonitor NotRunnable is not really an optimization

Erik Österlund eosterlund at openjdk.org
Wed Dec 13 06:37:40 UTC 2023


On Mon, 11 Dec 2023 09:50:37 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:

> The performance on stable / reproducible performance tests increase with up to 12% on x86 based platforms if we remove ObjectMonitor::NotRunnable(). The performance decrease seen on AArch64 based macOS can be fixed by implementing SpinPause() (see: JDK-8321371).
> 
> This PR removes ObjectMonitor::NotRunnable().
> 
> Tested successfully on tier1-tier5.

Red lines are the bestkind of lines. Looks great!

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17050#pullrequestreview-1778930708


More information about the hotspot-runtime-dev mailing list