Skip to content

Commit 3e54c6c

Browse files
SendaoYanRealCLanger
authored andcommitted
8366893: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macos-aarch64
Backport-of: 0dad3f1
1 parent 1e157e9 commit 3e54c6c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

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

5454
int iterations;
5555
int value = Integer.parseInt(args[0]);
56-
if (Platform.isOSX() && Platform.isX64()) {
57-
// reduced iterations on macosx-x64
56+
if (Platform.isOSX()) {
57+
// reduced iterations on macosx
5858
iterations = Math.max(value / 4, 1);
5959
} else {
6060
iterations = value;

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)