[9] RFR (XS): 8160360: Mismatched field loads are folded in LoadNode::Value
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Jul 6 01:02:54 UTC 2016
Looks good.
Thanks,
Vladimir
On 6/29/16 5:52 AM, Vladimir Ivanov wrote:
> 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