6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash
authorchegar
Thu, 03 Mar 2011 16:48:53 +0000
changeset 8563 4b287f6663b6
parent 8562 72c0c44969c1
child 8565 460a150e05af
6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash Summary: the test is not suitable to be run automatically Reviewed-by: alanb
jdk/test/java/lang/Thread/StartOOMTest.java
--- a/jdk/test/java/lang/Thread/StartOOMTest.java	Thu Mar 03 16:44:44 2011 +0000
+++ b/jdk/test/java/lang/Thread/StartOOMTest.java	Thu Mar 03 16:48:53 2011 +0000
@@ -22,11 +22,14 @@
  */
 
 /*
- * @test
- * @bug 6379235
- * @ignore until 6721694 is fixed
- * @run main/othervm -server -Xmx32m -Xms32m -Xss256m StartOOMTest
- * @summary ThreadGroup accounting mistake possible with failure of Thread.start()
+ * This test is relatively useful for verifying 6379235, but
+ * is too resource intensive, especially on 64 bit systems,
+ * to be run automatically, see 6721694.
+ *
+ * When run it should be typically be run with the server vm
+ * and a relatively small java heap, and a large stack size
+ * ( to provoke the OOM quicker ).
+ *    java -server -Xmx32m -Xms32m -Xss256m StartOOMTest
  */
 
 import java.util.*;