changeset 9022:df79231a1e18

8030284: intermittent StackOverflow in RMI bench/serial test Reviewed-by: smarks
author tyan
date Fri, 03 Jan 2014 20:43:09 -0800
parents 1b9c607049c9
children 1a4ed2bd4556
files test/java/rmi/reliability/benchmark/bench/serial/Main.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Fri Jan 03 14:04:41 2014 -0800
+++ b/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;