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

AArch64: C2: offset overflow in BoxLockNode::emit

    XMLWordPrintable

Details

    • b06
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: