AArch64: C2: offset overflow in BoxLockNode::emit

XMLWordPrintable

    • b06
    • aarch64

        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.

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

                Created:
                Updated:
                Resolved: