8264179: [TESTBUG] Some compiler tests fail when running without C2

Reviewed-by: kvn, jiefu
This commit is contained in:
Christian Hagedorn 2021-03-29 08:03:47 +00:00
parent 30b4b17ccb
commit aefc1560b5
5 changed files with 6 additions and 5 deletions

View file

@ -29,7 +29,7 @@
* @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. * @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.
* *
* @run main/othervm -XX:+UseZGC compiler.loopopts.TestRangeCheckPredicatesControl * @run main/othervm -XX:+UseZGC compiler.loopopts.TestRangeCheckPredicatesControl
* @run main/othervm -XX:+UseZGC -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM compiler.loopopts.TestRangeCheckPredicatesControl * @run main/othervm -XX:+UseZGC -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM compiler.loopopts.TestRangeCheckPredicatesControl
*/ */
package compiler.loopopts; package compiler.loopopts;

View file

@ -27,9 +27,9 @@
* @summary Test the complete cloning of skeleton predicates to unswitched loops as done when cloning them to the main loop. * @summary Test the complete cloning of skeleton predicates to unswitched loops as done when cloning them to the main loop.
* @run main/othervm -Xcomp -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::* * @run main/othervm -Xcomp -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::*
* compiler.loopopts.TestUnswitchCloneSkeletonPredicates * compiler.loopopts.TestUnswitchCloneSkeletonPredicates
* @run main/othervm -Xcomp -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::* * @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,compiler.loopopts.TestUnswitchCloneSkeletonPredicates::*
* compiler.loopopts.TestUnswitchCloneSkeletonPredicates * compiler.loopopts.TestUnswitchCloneSkeletonPredicates
* @run main/othervm -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates
*/ */
package compiler.loopopts; package compiler.loopopts;

View file

@ -27,6 +27,7 @@
* @bug 8214751 * @bug 8214751
* @summary Test operations in C2 MulAddS2I and MulAddVS2VI nodes. * @summary Test operations in C2 MulAddS2I and MulAddVS2VI nodes.
* @library /test/lib * @library /test/lib
* @requires vm.compiler2.enabled
* *
* @run main/othervm -XX:LoopUnrollLimit=250 * @run main/othervm -XX:LoopUnrollLimit=250
* -XX:CompileThresholdScaling=0.1 * -XX:CompileThresholdScaling=0.1

View file

@ -26,7 +26,7 @@
* @bug 8239367 * @bug 8239367
* @summary Wiring of memory in SubTypeCheck macro node causes graph should be schedulable * @summary Wiring of memory in SubTypeCheck macro node causes graph should be schedulable
* *
* @run main/othervm -Xcomp -XX:CompileOnly=TestSubTypeCheckMacroNodeWrongMem::test -XX:-DoEscapeAnalysis TestSubTypeCheckMacroNodeWrongMem * @run main/othervm -Xcomp -XX:CompileOnly=TestSubTypeCheckMacroNodeWrongMem::test -XX:+IgnoreUnrecognizedVMOptions -XX:-DoEscapeAnalysis TestSubTypeCheckMacroNodeWrongMem
* *
*/ */

View file

@ -26,7 +26,7 @@
* @test * @test
* @bug 8193518 8249608 * @bug 8193518 8249608
* @summary C2: Vector registers are sometimes corrupted at safepoint * @summary C2: Vector registers are sometimes corrupted at safepoint
* @run main/othervm -XX:-BackgroundCompilation -XX:+UseCountedLoopSafepoints -XX:LoopStripMiningIter=2 -XX:-TieredCompilation TestVectorsNotSavedAtSafepoint test1 * @run main/othervm -XX:-BackgroundCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountedLoopSafepoints -XX:LoopStripMiningIter=2 -XX:-TieredCompilation TestVectorsNotSavedAtSafepoint test1
* @run main/othervm -XX:-BackgroundCompilation TestVectorsNotSavedAtSafepoint test2 * @run main/othervm -XX:-BackgroundCompilation TestVectorsNotSavedAtSafepoint test2
*/ */