RFR : JDK-8166110 : C2 crash in compiling method handles
Dmitry Chuyko
dmitry.chuyko at oracle.com
Fri Feb 3 15:42:16 UTC 2017
The link url may be wrong depending on how html is handled by email
client. Thanks to those who noticed that.
Webrev: http://cr.openjdk.java.net/~vlivanov/dchuyko/8166110/webrev.00/
-Dmitry
On 02/03/2017 05:19 PM, Dmitry Chuyko wrote:
>
> Summary: some method handles can be used with actual parameters not
> matching their signatures. It's too expensive to check this on call
> but possible to check during inlining. Inlined MHs with wrong usage
> caused further assertion failures in debug builds. The fix adds checks
> for signatures match during MH inlining so it fails if they are not
> matching. New test checks linkToStatic and invokeBasic cases.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8166110
>
> Webrev: http://cr.openjdk.java.net/~vlivanov/dchuyko/8166110/webrev.00/
>
> Testing: new test, Hotspot and JDK tests, promotion benchmarks.
>
> Thanks,
> -Dmitry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20170203/50eaaf18/attachment.html>
More information about the hotspot-compiler-dev
mailing list