RFR: 8267807: C2: Downcast receiver to target holder during inlining
Vladimir Ivanov
vlivanov at openjdk.java.net
Tue Jun 1 12:06:23 UTC 2021
On Wed, 26 May 2021 17:58:52 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Virtual method calls involve an implicit subtype check against callee holder.
> But if receiver type is too broad, it has to be narrowed before parsing the callee method.
> Otherwise, it may cause problems during parsing and currently it simply blocks inlining.
>
> Proposed fix implements the narrowing step and re-enables inlining.
>
> Testing:
> - [x] hs-tier1 - hs-tier9
Thanks for the reviews, Roland and Tobias.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4212
More information about the hotspot-compiler-dev
mailing list