8248336: AArch64: C2: offset overflow in BoxLockNode::emit

Andrew Haley aph at redhat.com
Thu Jun 25 16:48:59 UTC 2020


On 25/06/2020 17:31, Andrew Haley wrote:
> 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.

http://cr.openjdk.java.net/~aph/8248336/

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-compiler-dev mailing list