[9] RFR (XS): 8150436: Incorrect invocation mode when linkToInteface linker is eliminated

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Feb 24 16:14:29 UTC 2016


http://cr.openjdk.java.net/~vlivanov/8150436/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8150436

When MH.linkToInterface is eliminated, but the target method is not 
inlined, either default or concrete method is attached to the call site. 
During call site resolution, invokeinterface invocation mode is used, 
but resolution fails when the target method is concrete.

The fix is to adjust invocation mode to invokevirtual when concrete 
method is attached.

Testing: failing test, JPRT.

Thanks!

Best regards,
Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list