8141706: [TESTBUG] Update tests failing due to changed behavior
authorgziemski
Fri, 20 Nov 2015 11:57:33 -0600
changeset 34254 f2743650be1f
parent 34246 d2c05216f375
child 34255 04528c2bb8b2
8141706: [TESTBUG] Update tests failing due to changed behavior Summary: Add UnlockDiagnosticVMOptions as appropriate. Reviewed-by: kvn, dholmes
hotspot/test/compiler/c2/8004741/Test8004741.java
hotspot/test/compiler/loopopts/TestCastIINoLoopLimitCheck.java
hotspot/test/compiler/runtime/7196199/Test7196199.java
--- a/hotspot/test/compiler/c2/8004741/Test8004741.java	Mon Oct 19 16:21:35 2015 +0200
+++ b/hotspot/test/compiler/c2/8004741/Test8004741.java	Fri Nov 20 11:57:33 2015 -0600
@@ -25,8 +25,8 @@
  * @test Test8004741.java
  * @bug 8004741
  * @summary Missing compiled exception handle table entry for multidimensional array allocation
- * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100 Test8004741
- * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers Test8004741
+ * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100 Test8004741
+ * @run main/othervm -Xmx64m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+StressCompiledExceptionHandlers Test8004741
  */
 
 import java.util.*;
--- a/hotspot/test/compiler/loopopts/TestCastIINoLoopLimitCheck.java	Mon Oct 19 16:21:35 2015 +0200
+++ b/hotspot/test/compiler/loopopts/TestCastIINoLoopLimitCheck.java	Fri Nov 20 11:57:33 2015 -0600
@@ -26,7 +26,7 @@
  * @test
  * @bug 8073184
  * @summary CastII that guards counted loops confuses range check elimination with LoopLimitCheck off
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-LoopLimitCheck -XX:CompileOnly=TestCastIINoLoopLimitCheck.m -Xcomp  TestCastIINoLoopLimitCheck
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LoopLimitCheck -XX:CompileOnly=TestCastIINoLoopLimitCheck.m -Xcomp  TestCastIINoLoopLimitCheck
  *
  */
 
--- a/hotspot/test/compiler/runtime/7196199/Test7196199.java	Mon Oct 19 16:21:35 2015 +0200
+++ b/hotspot/test/compiler/runtime/7196199/Test7196199.java	Fri Nov 20 11:57:33 2015 -0600
@@ -27,7 +27,7 @@
  * @bug 7196199
  * @summary java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
  *
- * @run main/othervm/timeout=400 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:CompileCommand=exclude,Test7196199.test -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100 Test7196199
+ * @run main/othervm/timeout=400 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:CompileCommand=exclude,Test7196199.test -XX:+SafepointALot -XX:GuaranteedSafepointInterval=100 Test7196199
  */