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
--- 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
*/