[13] RFR (S): 8217760: C2: Missing symbolic info on a call from intrinsics when invoked through MethodHandle
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Fri Jan 25 21:34:41 UTC 2019
Thanks for reviews, Tobias & Roland.
Best regards,
Vladimir Ivanov
On 24/01/2019 17: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