changeset 3833:9b99a14375bc

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
author chegar
date Thu, 03 Mar 2011 16:48:53 +0000
parents 7cfb0693eb33
children 0bd32f96187d
files test/java/lang/Thread/StartOOMTest.java
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/Thread/StartOOMTest.java	Thu Mar 03 16:44:44 2011 +0000
+++ b/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.*;