Skip to content

Commit 892b8bb

Browse files
author
Doug Simon
committed
8329189: runtime/stack/Stack016.java fails on libgraal
Reviewed-by: never
1 parent 05854fd commit 892b8bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/runtime/stack/Stack016.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class Stack016 extends Thread {
5858
private final static int THREADS = 10;
5959
private final static int CYCLES = 10;
6060
private final static int STEP = 10;
61-
private final static int RESERVE = 100;
61+
private final static int RESERVE = 10;
6262
private final static int PROBES = STEP * RESERVE;
6363

6464
public static void main(String[] args) {
@@ -88,7 +88,7 @@ private void doRun() {
8888
for (int i = 0; i < threads.length; i++) {
8989
threads[i] = new Stack016();
9090
threads[i].setName("Thread: " + (i + 1) + "/" + THREADS);
91-
threads[i].depthToTry = RESERVE * maxDepth;
91+
threads[i].depthToTry = RESERVE * maxDepth * 10;
9292
threads[i].start();
9393
}
9494
for (int i = 0; i < threads.length; i++) {

0 commit comments

Comments
 (0)