JDK-8318015 : Lock inflation not needed for OSR or Deopt for new locking modes
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21,22,repo-lilliput-17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-10-12
  • Updated: 2024-04-09
  • Resolved: 2023-10-17
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 22
22 b20Fixed
Related Reports
Relates :  
Description
We transfer locks between interpreter and compiled frames when doing OSR or Deoptimization. The old locking mode "LM_LEGACY" inflates the locks before such transfers in order to get rid of stack addresses in the object headers (mark word). Other locking modes don't write stack addresses into the mark word and don't need inflation.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/lilliput-jdk17u/pull/76 Date: 2024-04-08 21:02:21 +0000
08-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/lilliput-jdk21u/pull/19 Date: 2024-03-25 14:49:35 +0000
25-03-2024

Changeset: d0ea2a51 Author: Martin Doerr <mdoerr@openjdk.org> Date: 2023-10-17 13:52:41 +0000 URL: https://git.openjdk.org/jdk/commit/d0ea2a51111bd5de5a6465e7de6a4950aae89c71
17-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16165 Date: 2023-10-12 14:03:20 +0000
12-10-2023