8030284: intermittent StackOverflow in RMI bench/serial test
authortyan
Fri, 03 Jan 2014 20:43:09 -0800
changeset 22103 918412102df3
parent 22102 c070cb089853
child 22104 ff3bfe024b5f
8030284: intermittent StackOverflow in RMI bench/serial test Reviewed-by: smarks
jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java
--- a/jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Fri Jan 03 14:04:41 2014 -0800
+++ b/jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Fri Jan 03 20:43:09 2014 -0800
@@ -43,10 +43,13 @@
  * @build bench.serial.ReplaceTrees bench.serial.ShortArrays
  * @build bench.serial.Shorts bench.serial.SmallObjTrees
  * @build bench.serial.StreamBuffer bench.serial.Strings
- * @run main/othervm/timeout=1800 bench.serial.Main -c jtreg-config
+ * @run main/othervm/timeout=1800 -Xss2m bench.serial.Main -c jtreg-config
  * @author Mike Warres, Nigel Daley
  */
 
+// The -Xss2m supplies additional stack space, as bench.serial.ClassDesc
+// consumes a considerable amount of stack.
+
 package bench.serial;
 
 import bench.ConfigFormatException;