changeset 6806:30203a1714f4

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
author jiangli
date Mon, 05 Nov 2012 12:51:14 -0500
parents 1ef160cf9b30
children 65d826a28dbd
files test/java/lang/invoke/BigArityTest.java test/java/lang/invoke/CallSiteTest.java test/java/lang/invoke/MethodHandlesTest.java test/java/lang/invoke/RicochetTest.java
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/invoke/BigArityTest.java	Fri Feb 01 06:51:37 2013 +0000
+++ b/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/test/java/lang/invoke/CallSiteTest.java	Fri Feb 01 06:51:37 2013 +0000
+++ b/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/test/java/lang/invoke/MethodHandlesTest.java	Fri Feb 01 06:51:37 2013 +0000
+++ b/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/test/java/lang/invoke/RicochetTest.java	Fri Feb 01 06:51:37 2013 +0000
+++ b/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)