RFR: 8275086: compiler/c2/irTests/TestPostParseCallDevirtualization.java fails when compiler1 is disabled

Tobias Hartmann thartmann at openjdk.java.net
Tue Oct 12 07:55:55 UTC 2021


On Tue, 12 Oct 2021 07:22:44 GMT, SUN Guoyun <duke at openjdk.java.net> wrote:

> here compile id 945 be called.

What do you mean by that?

IR verification fails because post-parse call devirtualization was not able to replace the `invokeBasic` by an `invokeStatic` in the C2 compiled `testMethodHandleCallWithCCP` method. In theory, that should not be dependent on the availability of C1. So I'm wondering why it fails without C1. Did you check if increasing the number of warmup iterations helps?

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

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


More information about the hotspot-compiler-dev mailing list