[jdk11u-dev] RFR: 8305711: Arm: C2 always enters slowpath for monitorexit

Thomas Stuefe stuefe at openjdk.org
Sat Apr 8 07:57:02 UTC 2023


Fixes slow thin locking on Arm.

Not a clean backport since 8241436: "C2: Factor out C2-specific code from MacroAssembler" moved the unlock function from macroAssembler.cpp to c2_MacroAssembler.cpp.

Manually tested (with -UseBiasedLocking) on Arm.

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

Commit messages:
 - fix

Changes: https://git.openjdk.org/jdk11u-dev/pull/1826/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1826&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305711
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1826.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1826/head:pull/1826

PR: https://git.openjdk.org/jdk11u-dev/pull/1826


More information about the jdk-updates-dev mailing list