RFR: 8267806: C1: Relax inlining checks for not yet initialized classes
Tobias Hartmann
thartmann at openjdk.java.net
Fri May 28 12:58:05 UTC 2021
On Wed, 26 May 2021 17:41:33 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> The checks which guide inlining decisions in C1 are too strong: declaring holder class is required to be fully initialized while JVMS only mandates an initialization barrier on resolved class in `invokestatic` case.
>
> The fix relaxes the checks to rule out only not yet linked classes unless it is an `invokestatic` call site.
>
> Testing:
> - [x] hs-tier1 - hs-tier9
Looks good to me too.
-------------
Marked as reviewed by thartmann (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4211
More information about the hotspot-compiler-dev
mailing list