mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8366893: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macos-aarch64
Reviewed-by: alanb, jpai
This commit is contained in:
parent
e6fa8aae61
commit
0dad3f1ae8
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user