[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 01:34:03 UTC 2019


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