File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/hotspot/jtreg/runtime/stack Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636 * stack overflow, and then tries to provoke similar stack overflows
3737 * 10 times in each of 10 threads. Each provocation consists of
3838 * invoking that recursive method for the given fixed depth
39- * of invocations which is 10 times that depth measured before.
39+ * of invocations which is 100 times that depth measured before.
4040 * The test is deemed passed, if VM have not crashed, and
4141 * if exception other than due to stack overflow was not
4242 * thrown.
@@ -75,7 +75,7 @@ public static void main(String[] args) {
7575 Stack011 threads [] = new Stack011 [THREADS ];
7676 for (int i = 0 ; i < threads .length ; i ++) {
7777 threads [i ] = new Stack011 ();
78- threads [i ].depthToTry = 10 * maxDepth ;
78+ threads [i ].depthToTry = 100 * maxDepth ;
7979 threads [i ].start ();
8080 }
8181 for (int i = 0 ; i < threads .length ; i ++) {
Original file line number Diff line number Diff line change 3636 * stack overflow, and then tries to provoke similar stack overflows
3737 * 10 times in each of 10 threads. Each provocation consists of
3838 * invoking that recursive method for the given fixed depth
39- * of invocations which is 10 times that depth measured before.
39+ * of invocations which is 100 times that depth measured before.
4040 * The test is deemed passed, if VM have not crashed, and
4141 * if exception other than due to stack overflow was not
4242 * thrown.
@@ -77,7 +77,7 @@ public static void main(String[] args) {
7777 Stack012 threads [] = new Stack012 [THREADS ];
7878 for (int i = 0 ; i < threads .length ; i ++) {
7979 threads [i ] = new Stack012 ();
80- threads [i ].depthToTry = 10 * maxDepth ;
80+ threads [i ].depthToTry = 100 * maxDepth ;
8181 threads [i ].start ();
8282 }
8383 for (int i = 0 ; i < threads .length ; i ++) {
You can’t perform that action at this time.
0 commit comments