Skip to content

Commit

Permalink
8301163: jdk/internal/vm/Continuation/Fuzz.java increase COMPILATION_…
Browse files Browse the repository at this point in the history
…TIMEOUT for Linux ppc64le

Reviewed-by: rrich
  • Loading branch information
MBaesken committed Jan 30, 2023
1 parent c2ebd17 commit cbefe1f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/jdk/jdk/internal/vm/Continuation/Fuzz.java
@@ -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.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -82,7 +82,7 @@ public class Fuzz implements Runnable {
static final boolean VERBOSE = false;

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", "."));

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

1 comment on commit cbefe1f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.