changeset 4280:34481a4012c3

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
author jrose
date Wed, 01 Jun 2011 23:56:51 -0700
parents 0b8b6eace473
children 802994506203
files test/java/lang/invoke/RicochetTest.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/invoke/RicochetTest.java	Wed Jun 01 23:56:47 2011 -0700
+++ b/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
  */