[13] RFR (XS): 8191998: C2: inlining through MH linkers drops speculative part of argument types

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Jan 25 21:34:05 UTC 2019

Thanks for reviews, Roland, Tobias, and Vladimir K.

Best regards,
Vladimir Ivanov

On 24/01/2019 17:34, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/8191998/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8191998
> CallGenerator::for_method_handle_inline() casts MH linker (MH::linkTo*) 
> arguments before attempting inlining. If any argument has a speculative 
> type attached, it is lost and can't be used later.
> The patch preserves speculative part while sharpening the type (if 
> needed) based on static information from the MemberName instance.
> Testing: hs-precheckin-comp, hs-tier1, hs-tier2.
> Best regards,
> Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list