Skip to content

Commit cbefe1f

Browse files
committed
8301163: jdk/internal/vm/Continuation/Fuzz.java increase COMPILATION_TIMEOUT for Linux ppc64le
Reviewed-by: rrich
1 parent c2ebd17 commit cbefe1f

File tree

1 file changed

+5
-2
lines changed
  • test/jdk/jdk/internal/vm/Continuation

1 file changed

+5
-2
lines changed

test/jdk/jdk/internal/vm/Continuation/Fuzz.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -82,7 +82,7 @@ public class Fuzz implements Runnable {
8282
static final boolean VERBOSE = false;
8383

8484
static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
85-
static final int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
85+
static int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
8686

8787
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));
8888

@@ -91,6 +91,9 @@ public static void main(String[] args) {
9191
throw new SkippedException("Test is unstable with slowdebug bits "
9292
+ "on macosx-aarch64");
9393
}
94+
if (Platform.isPPC()) {
95+
COMPILATION_TIMEOUT = COMPILATION_TIMEOUT * 2;
96+
}
9497
warmup();
9598
for (int compileLevel : new int[]{4}) {
9699
for (boolean compileRun : new boolean[]{true}) {

0 commit comments

Comments
 (0)