7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache
authorjrose
Wed, 01 Jun 2011 23:56:51 -0700
changeset 9781 ce852878da20
parent 9780 6fc3b49cfee4
child 9782 973c21557e1a
7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache Summary: reduce the scope of the unit test (mark high water mark of testing with @ignore tags) Reviewed-by: never
jdk/test/java/lang/invoke/RicochetTest.java
--- a/jdk/test/java/lang/invoke/RicochetTest.java	Wed Jun 01 23:56:47 2011 -0700
+++ b/jdk/test/java/lang/invoke/RicochetTest.java	Wed Jun 01 23:56:51 2011 -0700
@@ -25,6 +25,10 @@
 
 /* @test
  * @summary unit tests for recursive method handles
+ * @run junit/othervm -DRicochetTest.MAX_ARITY=50 test.java.lang.invoke.RicochetTest
+ */
+/*
+ * @ignore The following test creates an unreasonable number of adapters in -Xcomp mode (7049122)
  * @run junit/othervm -DRicochetTest.MAX_ARITY=255 test.java.lang.invoke.RicochetTest
  */