Skip to content

Commit aefc156

Browse files
committed
8264179: [TESTBUG] Some compiler tests fail when running without C2
Reviewed-by: kvn, jiefu
1 parent 30b4b17 commit aefc156

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

test/hotspot/jtreg/compiler/loopopts/TestRangeCheckPredicatesControl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @summary A LoadP node has a wrong control input (too early) which results in an out-of-bounds read of an object array with ZGC.
3030
*
3131
* @run main/othervm -XX:+UseZGC compiler.loopopts.TestRangeCheckPredicatesControl
32-
* @run main/othervm -XX:+UseZGC -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM compiler.loopopts.TestRangeCheckPredicatesControl
32+
* @run main/othervm -XX:+UseZGC -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM compiler.loopopts.TestRangeCheckPredicatesControl
3333
*/
3434

3535
package compiler.loopopts;

test/hotspot/jtreg/compiler/loopopts/TestUnswitchCloneSkeletonPredicates.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
* @summary Test the complete cloning of skeleton predicates to unswitched loops as done when cloning them to the main loop.
2828
* @run main/othervm -Xcomp -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::*
2929
* compiler.loopopts.TestUnswitchCloneSkeletonPredicates
30-
* @run main/othervm -Xcomp -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::*
30+
* @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::*
3131
* compiler.loopopts.TestUnswitchCloneSkeletonPredicates
32-
* @run main/othervm -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates
32+
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates
3333
*/
3434
package compiler.loopopts;
3535

test/hotspot/jtreg/compiler/loopopts/superword/Vec_MulAddS2I.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @bug 8214751
2828
* @summary Test operations in C2 MulAddS2I and MulAddVS2VI nodes.
2929
* @library /test/lib
30+
* @requires vm.compiler2.enabled
3031
*
3132
* @run main/othervm -XX:LoopUnrollLimit=250
3233
* -XX:CompileThresholdScaling=0.1

test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroNodeWrongMem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @bug 8239367
2727
* @summary Wiring of memory in SubTypeCheck macro node causes graph should be schedulable
2828
*
29-
* @run main/othervm -Xcomp -XX:CompileOnly=TestSubTypeCheckMacroNodeWrongMem::test -XX:-DoEscapeAnalysis TestSubTypeCheckMacroNodeWrongMem
29+
* @run main/othervm -Xcomp -XX:CompileOnly=TestSubTypeCheckMacroNodeWrongMem::test -XX:+IgnoreUnrecognizedVMOptions -XX:-DoEscapeAnalysis TestSubTypeCheckMacroNodeWrongMem
3030
*
3131
*/
3232

test/hotspot/jtreg/compiler/vectorization/TestVectorsNotSavedAtSafepoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @test
2727
* @bug 8193518 8249608
2828
* @summary C2: Vector registers are sometimes corrupted at safepoint
29-
* @run main/othervm -XX:-BackgroundCompilation -XX:+UseCountedLoopSafepoints -XX:LoopStripMiningIter=2 -XX:-TieredCompilation TestVectorsNotSavedAtSafepoint test1
29+
* @run main/othervm -XX:-BackgroundCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountedLoopSafepoints -XX:LoopStripMiningIter=2 -XX:-TieredCompilation TestVectorsNotSavedAtSafepoint test1
3030
* @run main/othervm -XX:-BackgroundCompilation TestVectorsNotSavedAtSafepoint test2
3131
*/
3232

0 commit comments

Comments
 (0)