JDK-8248336 : AArch64: C2: offset overflow in BoxLockNode::emit
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,15,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2020-06-25
  • Updated: 2021-02-27
  • Resolved: 2020-07-09
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 16 Other
11.0.11-oracleFixed 16 b06Fixed openjdk8u292Fixed
Description
BoxLockNode::emit only allows a 12-bit offset from register SP to the stack slot that contains the inflated lock. Rather amazingly we've never seen this fail in production, but in theory a BoxLockNode can be anywhere in the stack frame.
  
I have once seen this fail in test code, but it is very hard to reproduce.
Comments
Fix Request Should get backported for parity with 11.0.11-oracle. Applies cleanly.
21-12-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/f1908b344bc4 User: aph Date: 2020-07-09 16:57:06 +0000
09-07-2020