7197210: java/lang/invoke/CallSiteTest.java failing on armsflt.
authorjiangli
Mon, 05 Nov 2012 12:51:14 -0500
changeset 14408 db08012d1d6f
parent 14407 09c87f7a7199
child 14409 d879c92507ec
7197210: java/lang/invoke/CallSiteTest.java failing on armsflt. Summary: Reduce work load and set longer timeout for java/lang/invoke tests. Reviewed-by: kvn, twisti
jdk/test/java/lang/invoke/BigArityTest.java
jdk/test/java/lang/invoke/CallSiteTest.java
jdk/test/java/lang/invoke/MethodHandlesTest.java
jdk/test/java/lang/invoke/RicochetTest.java
--- a/jdk/test/java/lang/invoke/BigArityTest.java	Mon Nov 05 15:00:55 2012 -0800
+++ b/jdk/test/java/lang/invoke/BigArityTest.java	Mon Nov 05 12:51:14 2012 -0500
@@ -26,7 +26,7 @@
 /* @test
  * @summary High arity invocations, up to the maximum of 255 arguments
  * @compile BigArityTest.java
- * @run junit/othervm -DBigArityTest.ITERATION_COUNT=1 test.java.lang.invoke.BigArityTest
+ * @run junit/othervm/timeout=2500 -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -esa -DBigArityTest.ITERATION_COUNT=1 test.java.lang.invoke.BigArityTest
  */
 
 package test.java.lang.invoke;
--- a/jdk/test/java/lang/invoke/CallSiteTest.java	Mon Nov 05 15:00:55 2012 -0800
+++ b/jdk/test/java/lang/invoke/CallSiteTest.java	Mon Nov 05 12:51:14 2012 -0500
@@ -28,7 +28,7 @@
  *
  * @build indify.Indify
  * @compile CallSiteTest.java
- * @run main/othervm
+ * @run main/othervm/timeout=3600 -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies
  *      indify.Indify
  *      --expand-properties --classpath ${test.classes}
  *      --java test.java.lang.invoke.CallSiteTest
--- a/jdk/test/java/lang/invoke/MethodHandlesTest.java	Mon Nov 05 15:00:55 2012 -0800
+++ b/jdk/test/java/lang/invoke/MethodHandlesTest.java	Mon Nov 05 12:51:14 2012 -0500
@@ -26,7 +26,7 @@
 /* @test
  * @summary unit tests for java.lang.invoke.MethodHandles
  * @compile MethodHandlesTest.java remote/RemoteExample.java
- * @run junit/othervm test.java.lang.invoke.MethodHandlesTest
+ * @run junit/othervm/timeout=2500 -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -esa test.java.lang.invoke.MethodHandlesTest
  */
 
 package test.java.lang.invoke;
--- a/jdk/test/java/lang/invoke/RicochetTest.java	Mon Nov 05 15:00:55 2012 -0800
+++ b/jdk/test/java/lang/invoke/RicochetTest.java	Mon Nov 05 12:51:14 2012 -0500
@@ -25,7 +25,7 @@
 
 /* @test
  * @summary unit tests for recursive method handles
- * @run junit/othervm -DRicochetTest.MAX_ARITY=50 test.java.lang.invoke.RicochetTest
+ * @run junit/othervm/timeout=3600 -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -DRicochetTest.MAX_ARITY=10 test.java.lang.invoke.RicochetTest
  */
 /*
  * @ignore The following test creates an unreasonable number of adapters in -Xcomp mode (7049122)