[9] RFR (XS): 8160360: Mismatched field loads are folded in LoadNode::Value
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Wed Jun 29 12:52:11 UTC 2016
http://cr.openjdk.java.net/~vlivanov/8160360/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8160360
Mismatched access check is absent for fields in LoadNode::Value().
The fix adds missing check.
Also, marked all "wide" on-heap accesses as mismatched. It's possible
the type is narrowed later (e.g., during post-parse/incremental
inlining) and becomes mismatched.
Testing: failing tests, JPRT, PIT (hs-tier0-comp).
Best regards,
Vladimir Ivanov
More information about the hotspot-compiler-dev
mailing list