RFR (XS): 8150436: Incorrect invocation mode when linkToInteface linker is eliminated
vladimir.x.ivanov at oracle.com
Thu Feb 25 10:56:31 UTC 2016
Vladimir, Aleksey, thanks for the reviews.
On 2/25/16 2:25 AM, Vladimir Kozlov wrote:
> Looks good.
> On 2/24/16 8:14 AM, Vladimir Ivanov wrote:
>> 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