RFR : JDK-8166110 : C2 crash in compiling method handles
dmitry.chuyko at oracle.com
Fri Feb 3 14:19:30 UTC 2017
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.
Testing: new test, Hotspot and JDK tests, promotion benchmarks.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev