8160761: [TESTBUG] Several compiler tests fail with product bits
authorppunegov
Wed, 13 Jul 2016 19:08:07 +0300
changeset 40062 3b21b3295f19
parent 40061 8df4c4a20902
child 40063 813343dec9dd
8160761: [TESTBUG] Several compiler tests fail with product bits Summary: Add UnlockDiagnosticVMOptions to tests Reviewed-by: goetz
hotspot/test/compiler/controldependency/TestEliminatedCastPPAtPhi.java
hotspot/test/compiler/loopopts/TestPredicateLostDependency.java
hotspot/test/compiler/membars/DekkerTest.java
--- a/hotspot/test/compiler/controldependency/TestEliminatedCastPPAtPhi.java	Mon Jul 04 16:28:27 2016 +0200
+++ b/hotspot/test/compiler/controldependency/TestEliminatedCastPPAtPhi.java	Wed Jul 13 19:08:07 2016 +0300
@@ -29,7 +29,7 @@
  * @requires vm.gc=="Serial" | vm.gc=="Parallel"
  *
  * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
- *      -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM
+ *      -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM
  *      compiler.controldependency.TestEliminatedCastPPAtPhi
  *
  */
--- a/hotspot/test/compiler/loopopts/TestPredicateLostDependency.java	Mon Jul 04 16:28:27 2016 +0200
+++ b/hotspot/test/compiler/loopopts/TestPredicateLostDependency.java	Wed Jul 13 19:08:07 2016 +0300
@@ -27,7 +27,7 @@
  * @bug 8069191
  * @summary predicate moved out of loops and CastPP removal causes dependency to be lost
  *
- * @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:+StressGCM
+ * @run main/othervm -Xcomp -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM
  *                   -XX:CompileCommand=compileonly,compiler.loopopts.TestPredicateLostDependency::m1
  *                   compiler.loopopts.TestPredicateLostDependency
  *
--- a/hotspot/test/compiler/membars/DekkerTest.java	Mon Jul 04 16:28:27 2016 +0200
+++ b/hotspot/test/compiler/membars/DekkerTest.java	Wed Jul 13 19:08:07 2016 +0300
@@ -25,15 +25,15 @@
  * @test
  * @bug 8007898
  * @summary Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier().
- * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation
- *                   -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
- *                   compiler.membars.DekkerTest
- * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation
- *                   -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
- *                   compiler.membars.DekkerTest
- * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation
- *                   -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
- *                   compiler.membars.DekkerTest
+ * @run main/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions
+ *      -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
+ *      compiler.membars.DekkerTest
+ * @run main/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions
+ *      -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
+ *      compiler.membars.DekkerTest
+ * @run main/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions
+ *      -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:+StressGCM -XX:+StressLCM
+ *      compiler.membars.DekkerTest
  * @author Martin Doerr martin DOT doerr AT sap DOT com
  *
  * Run 3 times since the failure is intermittent.