[9] RFR (XS): 8150436: Incorrect invocation mode when linkToInteface linker is eliminated
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Feb 24 23:25:26 UTC 2016
Looks good.
Thanks,
Vladimir
On 2/24/16 8:14 AM, Vladimir Ivanov wrote:
> 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