Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248336

AArch64: C2: offset overflow in BoxLockNode::emit

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      aarch64

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aph Andrew Haley
                Reporter:
                aph Andrew Haley
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: