From cbefe1fd35a4ad59ec979bdaee519617efac9ecf Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Mon, 30 Jan 2023 08:15:10 +0000 Subject: [PATCH] 8301163: jdk/internal/vm/Continuation/Fuzz.java increase COMPILATION_TIMEOUT for Linux ppc64le Reviewed-by: rrich --- test/jdk/jdk/internal/vm/Continuation/Fuzz.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/jdk/jdk/internal/vm/Continuation/Fuzz.java b/test/jdk/jdk/internal/vm/Continuation/Fuzz.java index 77da319579f..14696c63fac 100644 --- a/test/jdk/jdk/internal/vm/Continuation/Fuzz.java +++ b/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 @@ -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", ".")); @@ -91,6 +91,9 @@ public class Fuzz implements Runnable { 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}) {