7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
authorcollins
Wed, 27 Feb 2013 20:36:14 -0800
changeset 15864 2757a5eae916
parent 15792 ba36ca4f58ef
child 15865 adfe8db1e959
7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option Summary: Small changes to hotspot tests to remove "-server" and replace with ${TESTVMOPTS} Reviewed-by: kvn
hotspot/test/compiler/6431242/Test.java
hotspot/test/compiler/6589834/Test_ia32.java
hotspot/test/compiler/6636138/Test1.java
hotspot/test/compiler/6636138/Test2.java
hotspot/test/compiler/6795161/Test.java
hotspot/test/compiler/6946040/TestCharShortByteSwap.java
hotspot/test/compiler/7068051/Test7068051.sh
hotspot/test/compiler/8000805/Test8000805.java
--- a/hotspot/test/compiler/6431242/Test.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6431242/Test.java	Wed Feb 27 20:36:14 2013 -0800
@@ -25,7 +25,7 @@
 /*
  * @test
  * @bug 6431242
- * @run main/othervm -server -XX:+PrintCompilation Test
+ * @run main Test
  */
 
 public class Test{
--- a/hotspot/test/compiler/6589834/Test_ia32.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6589834/Test_ia32.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @bug 6589834
  * @summary deoptimization problem with -XX:+DeoptimizeALot
  *
- * @run main/othervm -server Test_ia32
+ * @run main Test_ia32
  */
 
 /***************************************************************************************
--- a/hotspot/test/compiler/6636138/Test1.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6636138/Test1.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @bug 6636138
  * @summary SuperWord::co_locate_pack(Node_List* p) generates memory graph that leads to memory order violation.
  *
- * @run main/othervm -server -Xbatch -XX:CompileOnly=Test1.init Test1
+ * @run main/othervm -Xbatch -XX:CompileOnly=Test1.init Test1
  */
 
 public class Test1 {
--- a/hotspot/test/compiler/6636138/Test2.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6636138/Test2.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @bug 6636138
  * @summary SuperWord::co_locate_pack(Node_List* p) generates memory graph that leads to memory order violation.
  *
- * @run main/othervm -server -Xbatch -XX:CompileOnly=Test2.shift Test2
+ * @run main/othervm -Xbatch -XX:CompileOnly=Test2.shift Test2
  */
 
 public class Test2 {
--- a/hotspot/test/compiler/6795161/Test.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6795161/Test.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @test
  * @bug 6795161
  * @summary Escape analysis leads to data corruption
- * @run main/othervm -server  -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompileOnly=Test -XX:+DoEscapeAnalysis Test
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompileOnly=Test -XX:+DoEscapeAnalysis Test
  */
 
 class Test_Class_1 {
--- a/hotspot/test/compiler/6946040/TestCharShortByteSwap.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/6946040/TestCharShortByteSwap.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @test
  * @bug 6946040
  * @summary Tests Character/Short.reverseBytes and their intrinsics implementation in the server compiler
- * @run main/othervm -Xbatch -server -XX:CompileOnly=.testChar,.testShort TestCharShortByteSwap
+ * @run main/othervm -Xbatch -XX:CompileOnly=.testChar,.testShort TestCharShortByteSwap
  */
 
 // This test must run without any command line arguments.
--- a/hotspot/test/compiler/7068051/Test7068051.sh	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/7068051/Test7068051.sh	Wed Feb 27 20:36:14 2013 -0800
@@ -45,5 +45,5 @@
 
 ${TESTJAVA}/bin/javac -d . Test7068051.java
 
-${TESTJAVA}/bin/java -showversion -Xbatch ${TESTVMOPTS} Test7068051 foo.jar
+${TESTJAVA}/bin/java ${TESTVMOPTS} -showversion -Xbatch Test7068051 foo.jar
 
--- a/hotspot/test/compiler/8000805/Test8000805.java	Fri Feb 22 10:12:00 2013 -0800
+++ b/hotspot/test/compiler/8000805/Test8000805.java	Wed Feb 27 20:36:14 2013 -0800
@@ -26,7 +26,7 @@
  * @bug 8000805
  * @summary JMM issue: short loads are non-atomic
  *
- * @run main/othervm -server -XX:-TieredCompilation -Xcomp -XX:+PrintCompilation -XX:CompileOnly=Test8000805.loadS2LmaskFF,Test8000805.loadS2Lmask16,Test8000805.loadS2Lmask13,Test8000805.loadUS_signExt,Test8000805.loadB2L_mask8 Test8000805
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -Xcomp -XX:+PrintCompilation -XX:CompileOnly=Test8000805.loadS2LmaskFF,Test8000805.loadS2Lmask16,Test8000805.loadS2Lmask13,Test8000805.loadUS_signExt,Test8000805.loadB2L_mask8 Test8000805
  */
 
 public class Test8000805 {