8328312: runtime/stack/Stack0*.java fails intermittently on libgraal

Reviewed-by: lmesnik, dholmes
This commit is contained in:
Doug Simon 2024-03-22 10:57:20 +00:00
parent cd534f8197
commit d379afbc11
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* stack overflow, and then tries to provoke similar stack overflows
* 10 times in each of 10 threads. Each provocation consists of
* invoking that recursive method for the given fixed depth
* of invocations which is 10 times that depth measured before.
* of invocations which is 100 times that depth measured before.
* The test is deemed passed, if VM have not crashed, and
* if exception other than due to stack overflow was not
* thrown.
@ -75,7 +75,7 @@ public class Stack011 extends Thread {
Stack011 threads[] = new Stack011[THREADS];
for (int i = 0; i < threads.length; i++) {
threads[i] = new Stack011();
threads[i].depthToTry = 10 * maxDepth;
threads[i].depthToTry = 100 * maxDepth;
threads[i].start();
}
for (int i = 0; i < threads.length; i++) {

View File

@ -36,7 +36,7 @@
* stack overflow, and then tries to provoke similar stack overflows
* 10 times in each of 10 threads. Each provocation consists of
* invoking that recursive method for the given fixed depth
* of invocations which is 10 times that depth measured before.
* of invocations which is 100 times that depth measured before.
* The test is deemed passed, if VM have not crashed, and
* if exception other than due to stack overflow was not
* thrown.
@ -77,7 +77,7 @@ public class Stack012 extends Thread {
Stack012 threads[] = new Stack012[THREADS];
for (int i = 0; i < threads.length; i++) {
threads[i] = new Stack012();
threads[i].depthToTry = 10 * maxDepth;
threads[i].depthToTry = 100 * maxDepth;
threads[i].start();
}
for (int i = 0; i < threads.length; i++) {