JDK-8241234 : Unify monitor enter/exit runtime entries.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-19
  • Updated: 2021-05-12
  • Resolved: 2020-04-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 15
11.0.10Fixed 15 b20Fixed
Related Reports
Duplicate :  
Relates :  
Description
JDK-8061553 added support for faster "slow" locking paths. These paths are not currently used by C1 and JVMCI leading to slower performance on programs that have a lot of short lived locked sections.

Comments
Approving, also with confirmation of https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-September/003782.html
14-09-2020

Fix Request [11u] It's already backported to 11u-oracle and it's available in GraalVM (see Vladimir's comment above). Backport reasons: - Oracle has done so. There may be more backports in this area and I'd expect less effort if we have the same code in the open version. - Performance is supposed to be better. - New code is much cleaner. Patch from JDK15 doesn't apply. 11u backport review thread: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-August/041244.html Review completed on 2020-08-27.
27-08-2020

Thanks Vladimir! This will help. If not someone else picks this up, SAP will work on this for 11.0.9.
20-05-2020

[~mbaesken] You can build 11u patch from GraalVM 11u changes: https://github.com/graalvm/labs-openjdk-11/commit/6c162cb15262e6aa77e36eb3a268320ef0a206a4 and follow up change: https://github.com/graalvm/labs-openjdk-11/commit/6a28a618cdbe595f9a3993e0eb63c01ccae1a528
19-05-2020

OpenJDK 11.0.8 backport check 8241234 does not integrate nicely into 11.0.8, do not put it into OpenJDK 11 for now.
19-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/87c506c8be63 User: dnsimon Date: 2020-04-16 08:15:56 +0000
16-04-2020

In JDK 14 this code was reworked JDK-8229844. Changes in JDK 15 will be different from suggested changes for 11u.
19-03-2020