Skip to content

Commit 4ab2b5b

Browse files
committed
8366569: Disable CompileTaskTimeout for known long-running test cases
Reviewed-by: dlong
1 parent e2a503e commit 4ab2b5b

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

test/hotspot/jtreg/compiler/c2/TestScalarReplacementMaxLiveNodes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
* -XX:CompileCommand=dontinline,*String*::substring
3939
* -XX:NodeCountInliningCutoff=220000
4040
* -XX:DesiredMethodLimit=100000
41+
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
4142
* compiler.c2.TestScalarReplacementMaxLiveNodes
4243
*/
4344
package compiler.c2;

test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
23
* Copyright (c) 2024, Red Hat, Inc. All rights reserved.
34
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45
*
@@ -25,7 +26,9 @@
2526
* @test
2627
* @bug 8333258
2728
* @summary C2: high memory usage in PhaseCFG::raise_above_anti_dependences()
28-
* @run main/othervm -XX:CompileOnly=TestAntiDependenciesHighMemUsage::test1 -Xcomp TestAntiDependenciesHighMemUsage
29+
* @run main/othervm -XX:CompileOnly=TestAntiDependenciesHighMemUsage::test1 -Xcomp
30+
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
31+
* TestAntiDependenciesHighMemUsage
2932
*/
3033

3134
public class TestAntiDependenciesHighMemUsage {

test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage2.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
23
* Copyright (c) 2024, Red Hat, Inc. All rights reserved.
34
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45
*
@@ -25,8 +26,11 @@
2526
* @test
2627
* @bug 8333258
2728
* @summary C2: high memory usage in PhaseCFG::raise_above_anti_dependences()
28-
* @run main/othervm/timeout=480 -XX:CompileOnly=TestAntiDependenciesHighMemUsage2::test1 -XX:-ClipInlining
29-
* -XX:-BackgroundCompilation -XX:-TieredCompilation -XX:-UseOnStackReplacement TestAntiDependenciesHighMemUsage2
29+
* @run main/othervm/timeout=480 -XX:CompileOnly=TestAntiDependenciesHighMemUsage2::test1
30+
* -XX:-ClipInlining -XX:-BackgroundCompilation
31+
* -XX:-TieredCompilation -XX:-UseOnStackReplacement
32+
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
33+
* TestAntiDependenciesHighMemUsage2
3034
*/
3135

3236
public class TestAntiDependenciesHighMemUsage2 {

test/hotspot/jtreg/compiler/loopopts/TestMaxLoopOptsCountReached.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
* @bug 8284944
2727
* @requires vm.compiler2.enabled
2828
* @summary triggers the loop optimization phase `LoopOptsCount` many times
29-
* @run main/othervm/timeout=480 -Xcomp -XX:-PartialPeelLoop -XX:CompileCommand=compileonly,TestMaxLoopOptsCountReached::test TestMaxLoopOptsCountReached
29+
* @run main/othervm/timeout=480 -Xcomp -XX:-PartialPeelLoop
30+
* -XX:CompileCommand=compileonly,TestMaxLoopOptsCountReached::test
31+
* -XX:+IgnoreUnrecognizedVMOptions -XX:CompileTaskTimeout=0
32+
* TestMaxLoopOptsCountReached
3033
*/
3134

3235
import java.lang.System.Logger.Level;

test/hotspot/jtreg/compiler/vectorapi/VectorReplicateLongSpecialImmTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
* @library /test/lib
3737
* @requires os.arch == "aarch64"
3838
* @modules jdk.incubator.vector
39-
* @run testng/othervm -XX:UseSVE=0 -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=MemLimit,*.*,0 compiler.vectorapi.VectorReplicateLongSpecialImmTest
39+
* @run testng/othervm -XX:UseSVE=0 -XX:-TieredCompilation
40+
* -XX:CompileThreshold=100
41+
* -XX:+IgnoreUnrecognizedVMOptions
42+
* -XX:CompileCommand=MemLimit,*.*,0
43+
* -XX:CompileTaskTimeout=0
44+
* compiler.vectorapi.VectorReplicateLongSpecialImmTest
4045
*/
4146
public class VectorReplicateLongSpecialImmTest {
4247

0 commit comments

Comments
 (0)