8366893: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macos-aarch64

Reviewed-by: alanb, jpai
This commit is contained in:
Aleksey Shipilev 2025-09-05 10:55:41 +00:00
parent e6fa8aae61
commit 0dad3f1ae8
3 changed files with 6 additions and 6 deletions

View File

@ -53,8 +53,8 @@ public class GetStackTraceALotWhenBlocking {
int iterations;
int value = Integer.parseInt(args[0]);
if (Platform.isOSX() && Platform.isX64()) {
// reduced iterations on macosx-x64
if (Platform.isOSX()) {
// reduced iterations on macosx
iterations = Math.max(value / 4, 1);
} else {
iterations = value;

View File

@ -56,8 +56,8 @@ public class GetStackTraceALotWhenPinned {
int iterations;
int value = Integer.parseInt(args[0]);
if (Platform.isOSX() && Platform.isX64()) {
// reduced iterations on macosx-x64
if (Platform.isOSX()) {
// reduced iterations on macosx
iterations = Math.max(value / 4, 1);
} else {
iterations = value;

View File

@ -49,8 +49,8 @@ public class ParkALot {
public static void main(String[] args) throws Exception {
int iterations;
int value = Integer.parseInt(args[0]);
if (Platform.isOSX() && Platform.isX64()) {
// reduced iterations on macosx-x64
if (Platform.isOSX()) {
// reduced iterations on macosx
iterations = Math.max(value / 4, 1);
} else {
iterations = value;