[13] RFR (S): 8217760: C2: Missing symbolic info on a call from intrinsics when invoked through MethodHandle

Tobias Hartmann tobias.hartmann at oracle.com
Fri Jan 25 08:07:55 UTC 2019

Hi Vladimir,

this looks good to me.

Best regards,

On 25.01.19 02:24, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/8217760/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8217760
> If an intrinsic is called through MethodHandle and it contains a call, then it crashes at the call
> site during resolution due to inconsistent symbolic info: bytecode refers to method handle linker
> (MH::linkTo*), but the call invokes some concrete method (result of inlining through the linker).
> The fix is to explicitly attach symbolic info to the call using the machinery introduced by
> JDK-8072008 [1].
> Testing: hs-precheckin-comp, hs-tier1, hs-tier2, hs-tier3
> Best regards,
> Vladimir Ivanov
> [1] https://bugs.openjdk.java.net/browse/JDK-8072008

More information about the hotspot-compiler-dev mailing list