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.
|