[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


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.


Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list