Commit d379afb Doug Simon
committed Mar 22, 2024
1 parent cd534f8 commit d379afb Copy full SHA for d379afb
File tree 2 files changed +4
-4
lines changed
test/hotspot/jtreg/runtime/stack
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 36
36
* stack overflow, and then tries to provoke similar stack overflows
37
37
* 10 times in each of 10 threads. Each provocation consists of
38
38
* 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.
40
40
* The test is deemed passed, if VM have not crashed, and
41
41
* if exception other than due to stack overflow was not
42
42
* thrown.
@@ -75,7 +75,7 @@ public static void main(String[] args) {
75
75
Stack011 threads [] = new Stack011 [THREADS ];
76
76
for (int i = 0 ; i < threads .length ; i ++) {
77
77
threads [i ] = new Stack011 ();
78
- threads [i ].depthToTry = 10 * maxDepth ;
78
+ threads [i ].depthToTry = 100 * maxDepth ;
79
79
threads [i ].start ();
80
80
}
81
81
for (int i = 0 ; i < threads .length ; i ++) {
Original file line number Diff line number Diff line change 36
36
* stack overflow, and then tries to provoke similar stack overflows
37
37
* 10 times in each of 10 threads. Each provocation consists of
38
38
* 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.
40
40
* The test is deemed passed, if VM have not crashed, and
41
41
* if exception other than due to stack overflow was not
42
42
* thrown.
@@ -77,7 +77,7 @@ public static void main(String[] args) {
77
77
Stack012 threads [] = new Stack012 [THREADS ];
78
78
for (int i = 0 ; i < threads .length ; i ++) {
79
79
threads [i ] = new Stack012 ();
80
- threads [i ].depthToTry = 10 * maxDepth ;
80
+ threads [i ].depthToTry = 100 * maxDepth ;
81
81
threads [i ].start ();
82
82
}
83
83
for (int i = 0 ; i < threads .length ; i ++) {
You can’t perform that action at this time.
0 commit comments