Skip to content

Commit 2f89740

Browse files
rm-gh-8Paul Hohensee
authored andcommitted
8366893: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macos-aarch64
Reviewed-by: phh Backport-of: 0dad3f1ae8d0c35c4b7a8188ad7854d01c7cd6b4
1 parent a9b396f commit 2f89740

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static void main(String[] args) throws Exception {
5656

5757
int iterations;
5858
int value = Integer.parseInt(args[0]);
59-
if (Platform.isOSX() && Platform.isX64()) {
60-
// reduced iterations on macosx-x64
59+
if (Platform.isOSX()) {
60+
// reduced iterations on macosx
6161
iterations = Math.max(value / 4, 1);
6262
} else {
6363
iterations = value;

test/jdk/java/lang/Thread/virtual/stress/ParkALot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class ParkALot {
4949
public static void main(String[] args) throws Exception {
5050
int iterations;
5151
int value = Integer.parseInt(args[0]);
52-
if (Platform.isOSX() && Platform.isX64()) {
53-
// reduced iterations on macosx-x64
52+
if (Platform.isOSX()) {
53+
// reduced iterations on macosx
5454
iterations = Math.max(value / 4, 1);
5555
} else {
5656
iterations = value;

0 commit comments

Comments
 (0)