Integrated: 8267806: C1: Relax inlining checks for not yet initialized classes

Vladimir Ivanov vlivanov at openjdk.java.net
Mon May 31 08:48:26 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

This pull request has now been integrated.

Changeset: 35916ed5
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/35916ed57f425ea674de1e9d5023e7cf199a6740
Stats:     13 lines in 1 file changed: 6 ins; 3 del; 4 mod

8267806: C1: Relax inlining checks for not yet initialized classes

Reviewed-by: roland, thartmann

-------------

PR: https://git.openjdk.java.net/jdk/pull/4211


More information about the hotspot-compiler-dev mailing list