RFR (S) 8153792: EA: assert(ptn->as_LocalVar()->edge_count() > 0) failed: sanity when compiling compareAndExchange
aleksey.shipilev at oracle.com
Wed May 11 22:16:48 UTC 2016
Please review the bugfix for the EA assert failure when compiling new
The bug is caused by the initial VarHandles change in the EA, and is
actually a simple overlook: Op_CompareAndExchange* were added at the
same switch case as Op_GetAndSet* (since they are similar), but the
condition within the case itself was not changed. So, EA misses an edge
from the load, and complains.
Testing: local Linux x86/fastdebug and failing test; RBT (hs-comp-tier0)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the hotspot-compiler-dev