Skip to content

Commit d379afb

Browse files
author
Doug Simon
committedMar 22, 2024
8328312: runtime/stack/Stack0*.java fails intermittently on libgraal
Reviewed-by: lmesnik, dholmes
1 parent cd534f8 commit d379afb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎test/hotspot/jtreg/runtime/stack/Stack011.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
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++) {

‎test/hotspot/jtreg/runtime/stack/Stack012.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
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++) {

0 commit comments

Comments
 (0)