RFR(S): 8206245: [lworld] C2 crashes when merging values with different types

Tobias Hartmann tobias.hartmann at oracle.com
Tue Jul 3 09:31:19 UTC 2018


please review the following patch:

1) We hit an assert in Parse::merge_common() with test67 because m is top() and phi is NULL (we are
merging into a dead path caused by an uncommon trap). The assert is too strong. I've removed it
because we are checking both m and n when calling as_ValueType() anyway.

2) We hit an assert with test67 because we are trying to push ValueTypePtrNodes of different types
merged by a Phi node through that phi. We should check if the input types are equal.


More information about the valhalla-dev mailing list