8301163: jdk/internal/vm/Continuation/Fuzz.java increase COMPILATION_TIMEOUT for Linux ppc64le
Reviewed-by: rrich
This commit is contained in:
parent
c2ebd17938
commit
cbefe1fd35
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -82,7 +82,7 @@ public class Fuzz implements Runnable {
|
|||||||
static final boolean VERBOSE = false;
|
static final boolean VERBOSE = false;
|
||||||
|
|
||||||
static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
|
static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
|
||||||
static final int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
|
static int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
|
||||||
|
|
||||||
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));
|
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));
|
||||||
|
|
||||||
@ -91,6 +91,9 @@ public class Fuzz implements Runnable {
|
|||||||
throw new SkippedException("Test is unstable with slowdebug bits "
|
throw new SkippedException("Test is unstable with slowdebug bits "
|
||||||
+ "on macosx-aarch64");
|
+ "on macosx-aarch64");
|
||||||
}
|
}
|
||||||
|
if (Platform.isPPC()) {
|
||||||
|
COMPILATION_TIMEOUT = COMPILATION_TIMEOUT * 2;
|
||||||
|
}
|
||||||
warmup();
|
warmup();
|
||||||
for (int compileLevel : new int[]{4}) {
|
for (int compileLevel : new int[]{4}) {
|
||||||
for (boolean compileRun : new boolean[]{true}) {
|
for (boolean compileRun : new boolean[]{true}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user