RFR: 8282142: [TestCase] compiler/inlining/ResolvedClassTest.java will fail when --with-jvm-features=-compiler1
Jie Fu
jiefu at openjdk.java.net
Mon Feb 28 05:03:44 UTC 2022
On Sat, 19 Feb 2022 03:49:58 GMT, Haomin <duke at openjdk.java.net> wrote:
> …l when --with-jvm-features=-compiler1
I would suggest something like this
diff --git a/test/hotspot/jtreg/compiler/inlining/ResolvedClassTest.java b/test/hotspot/jtreg/compiler/inlining/ResolvedClassTest.java
index dfeee6c..b7977d0 100644
--- a/test/hotspot/jtreg/compiler/inlining/ResolvedClassTest.java
+++ b/test/hotspot/jtreg/compiler/inlining/ResolvedClassTest.java
@@ -25,7 +25,7 @@
* @test
* @bug 8279515
*
- * @requires vm.flagless
+ * @requires vm.flagless & vm.compMode != "Xint" & vm.compiler1.enabled & vm.compiler2.enabled
* @modules java.base/jdk.internal.misc
* @library /test/lib /
*
This is because the test fails with C1-only too (I tested it with the minimal VM).
Also I don't think it would pass with interpreter-only mode.
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7541
More information about the hotspot-compiler-dev
mailing list