Skip to content

Commit

Permalink
8318490: Increase timeout for JDK tests that are close to the limit w…
Browse files Browse the repository at this point in the history
…hen run with libgraal

Backport-of: 6f263111a1812873291e91870e341ccce804d049
  • Loading branch information
GoeLin committed Jan 11, 2024
1 parent 2abfc99 commit cd16670
Show file tree
Hide file tree
Showing 41 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @summary Verifies that string intrinsics throw array out of bounds exceptions.
* @library /compiler/patches /test/lib
* @build java.base/java.lang.Helper
* @run main/othervm -Xbatch -XX:CompileThreshold=100 compiler.intrinsics.string.TestStringIntrinsicRangeChecks
* @run main/othervm/timeout=300 -Xbatch -XX:CompileThreshold=100 compiler.intrinsics.string.TestStringIntrinsicRangeChecks
*/
package compiler.intrinsics.string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on avx1.
* @requires vm.cpu.features ~= ".*avx.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastAVX1
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastAVX1
*/
public class TestVectorCastAVX1 {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on avx2.
* @requires vm.cpu.features ~= ".*avx2.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastAVX2
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastAVX2
*/
public class TestVectorCastAVX2 {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on avx512.
* @requires vm.cpu.features ~= ".*avx512.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastAVX512
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastAVX512
*/
public class TestVectorCastAVX512 {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on avx512bw.
* @requires vm.cpu.features ~= ".*avx512bw.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastAVX512BW
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastAVX512BW
*/
public class TestVectorCastAVX512BW {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on avx512dq.
* @requires vm.cpu.features ~= ".*avx512dq.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastAVX512DQ
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastAVX512DQ
*/
public class TestVectorCastAVX512DQ {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on neon.
* @requires vm.cpu.features ~= ".*asimd.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastNeon
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastNeon
*/
public class TestVectorCastNeon {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @summary Test that vector cast intrinsics work as intended on sve.
* @requires vm.cpu.features ~= ".*sve.*"
* @library /test/lib /
* @run main compiler.vectorapi.reshape.TestVectorCastSVE
* @run main/timeout=300 compiler.vectorapi.reshape.TestVectorCastSVE
*/
public class TestVectorCastSVE {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Try to start the given number of threads starting simultaneously
* when notifyall() is signaled at the stopLine object.
*
* @run main/othervm nsk.stress.thread.thread007 500 2m 5s
* @run main/othervm/timeout=300 nsk.stress.thread.thread007 500 2m 5s
*/

package nsk.stress.thread;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* starting simultaneously when notifyall() is signaled at the
* stopLine object.
*
* @run main/othervm nsk.stress.thread.thread008 500 2m 5s
* @run main/othervm/timeout=300 nsk.stress.thread.thread008 500 2m 5s
*/

package nsk.stress.thread;
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Byte128VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Byte128VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte128VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Byte256VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Byte256VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte256VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Byte512VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Byte512VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte512VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Byte64VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Byte64VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Byte64VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/ByteMaxVectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation ByteMaxVectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation ByteMaxVectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Double128VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Double128VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Double128VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Double256VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Double256VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Double256VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Double512VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Double512VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Double512VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Double64VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Double64VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Double64VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/DoubleMaxVectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation DoubleMaxVectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation DoubleMaxVectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Float128VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Float128VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Float128VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Float256VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Float256VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Float256VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Float512VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Float512VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Float512VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Float64VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Float64VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Float64VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/FloatMaxVectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation FloatMaxVectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation FloatMaxVectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Int128VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Int128VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Int128VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Int256VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Int256VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Int256VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Int512VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Int512VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Int512VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Int64VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Int64VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Int64VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/IntMaxVectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation IntMaxVectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation IntMaxVectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Long128VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Long128VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Long128VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Long256VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Long256VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Long256VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Long512VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Long512VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Long512VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Long64VectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation Long64VectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation Long64VectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/LongMaxVectorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa -Xbatch -XX:-TieredCompilation LongMaxVectorTests
* @run testng/othervm/timeout=300 -ea -esa -Xbatch -XX:-TieredCompilation LongMaxVectorTests
*/

// -- This file was mechanically generated: Do not edit! -- //
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/jdk/incubator/vector/Short128VectorTests.java