Skip to content

Commit

Permalink
8264179: [TESTBUG] Some compiler tests fail when running without C2
Browse files Browse the repository at this point in the history
Reviewed-by: kvn, jiefu
  • Loading branch information
chhagedorn committed Mar 29, 2021
1 parent 30b4b17 commit aefc156
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Expand Up @@ -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.
*
* @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;
Expand Down
Expand Up @@ -27,9 +27,9 @@
* @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::*
* 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
* @run main/othervm -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-PartialPeelLoop compiler.loopopts.TestUnswitchCloneSkeletonPredicates
*/
package compiler.loopopts;

Expand Down
Expand Up @@ -27,6 +27,7 @@
* @bug 8214751
* @summary Test operations in C2 MulAddS2I and MulAddVS2VI nodes.
* @library /test/lib
* @requires vm.compiler2.enabled
*
* @run main/othervm -XX:LoopUnrollLimit=250
* -XX:CompileThresholdScaling=0.1
Expand Down
Expand Up @@ -26,7 +26,7 @@
* @bug 8239367
* @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
*
*/

Expand Down
Expand Up @@ -26,7 +26,7 @@
* @test
* @bug 8193518 8249608
* @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
*/

Expand Down

1 comment on commit aefc156

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.