RFR: 8282142: [TestCase] compiler/inlining/ResolvedClassTest.java will fail when --with-jvm-features=-compiler1 [v3]
Haomin
duke at openjdk.java.net
Wed Mar 2 01:55:59 UTC 2022
On Tue, 1 Mar 2022 19:20:16 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Did you investigated why C2 compilation failed to produce expected message? And produces instead: `failed initial checks`
Hi @vnkozlov ,
`testStaticInit()` want to get expected error `analyzer.shouldContain("TestStaticInit$A::m (1 bytes) no static binding");`
But only C1 can print this.
grep -nr "no static binding" src/hotspot/
src/hotspot/share/c1/c1_GraphBuilder.cpp:2101: print_inlining(target, "no static binding", /*success*/ false);
src/hotspot/share/gc/parallel/mutableNUMASpace.cpp:834: // Make the page allocation happen here if there is no static binding.
So, I think It should be tested when c1-only. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7541
More information about the hotspot-compiler-dev
mailing list