8366569: Disable CompileTaskTimeout for known long-running test cases

Reviewed-by: dlong
This commit is contained in:
Manuel Hässig 2025-09-05 19:59:03 +00:00
parent e2a503e26e
commit 4ab2b5bdb4
5 changed files with 21 additions and 5 deletions

View File

@ -38,6 +38,7 @@
* -XX:CompileCommand=dontinline,*String*::substring
* -XX:NodeCountInliningCutoff=220000
* -XX:DesiredMethodLimit=100000
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
* compiler.c2.TestScalarReplacementMaxLiveNodes
*/
package compiler.c2;

View File

@ -1,4 +1,5 @@
/*
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2024, Red Hat, Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@ -25,7 +26,9 @@
* @test
* @bug 8333258
* @summary C2: high memory usage in PhaseCFG::raise_above_anti_dependences()
* @run main/othervm -XX:CompileOnly=TestAntiDependenciesHighMemUsage::test1 -Xcomp TestAntiDependenciesHighMemUsage
* @run main/othervm -XX:CompileOnly=TestAntiDependenciesHighMemUsage::test1 -Xcomp
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
* TestAntiDependenciesHighMemUsage
*/
public class TestAntiDependenciesHighMemUsage {

View File

@ -1,4 +1,5 @@
/*
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2024, Red Hat, Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@ -25,8 +26,11 @@
* @test
* @bug 8333258
* @summary C2: high memory usage in PhaseCFG::raise_above_anti_dependences()
* @run main/othervm/timeout=480 -XX:CompileOnly=TestAntiDependenciesHighMemUsage2::test1 -XX:-ClipInlining
* -XX:-BackgroundCompilation -XX:-TieredCompilation -XX:-UseOnStackReplacement TestAntiDependenciesHighMemUsage2
* @run main/othervm/timeout=480 -XX:CompileOnly=TestAntiDependenciesHighMemUsage2::test1
* -XX:-ClipInlining -XX:-BackgroundCompilation
* -XX:-TieredCompilation -XX:-UseOnStackReplacement
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
* TestAntiDependenciesHighMemUsage2
*/
public class TestAntiDependenciesHighMemUsage2 {

View File

@ -26,7 +26,10 @@
* @bug 8284944
* @requires vm.compiler2.enabled
* @summary triggers the loop optimization phase `LoopOptsCount` many times
* @run main/othervm/timeout=480 -Xcomp -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,TestMaxLoopOptsCountReached::test TestMaxLoopOptsCountReached
* @run main/othervm/timeout=480 -Xcomp -XX:-PartialPeelLoop
* -XX:CompileCommand=compileonly,TestMaxLoopOptsCountReached::test
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
* TestMaxLoopOptsCountReached
*/
import java.lang.System.Logger.Level;

View File

@ -36,7 +36,12 @@ import org.testng.annotations.Test;
* @library /test/lib
* @requires os.arch == "aarch64"
* @modules jdk.incubator.vector
* @run testng/othervm -XX:UseSVE=0 -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=MemLimit,*.*,0 compiler.vectorapi.VectorReplicateLongSpecialImmTest
* @run testng/othervm -XX:UseSVE=0 -XX:-TieredCompilation
* -XX:CompileThreshold=100
* -XX:+IgnoreUnrecognizedVMOptions
* -XX:CompileCommand=MemLimit,*.*,0
* -XX:CompileTaskTimeout=0
* compiler.vectorapi.VectorReplicateLongSpecialImmTest
*/
public class VectorReplicateLongSpecialImmTest {