RFR: 8320317: ObjectMonitor NotRunnable is not really an optimization

Fredrik Bredberg fbredberg at openjdk.org
Mon Dec 11 14:47:21 UTC 2023


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.

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

Commit messages:
 - 8320317: ObjectMonitor NotRunnable is not really an optimization
 - 8320317: ObjectMonitor NotRunnable is not really an optimization

Changes: https://git.openjdk.org/jdk/pull/17050/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17050&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320317
  Stats: 68 lines in 2 files changed: 0 ins; 68 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17050.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17050/head:pull/17050

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


More information about the hotspot-runtime-dev mailing list