Skip to content

Commit ad40b61

Browse files
committedNov 3, 2021
8235784: java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java fails due to timeout with fastdebug bits
Reviewed-by: goetz Backport-of: f0b1194
1 parent 36e54fb commit ad40b61

7 files changed

+28
-28
lines changed
 

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsChar.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsChar
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsChar
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsChar
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsChar
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsChar
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsChar
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsDouble.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsDouble
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsDouble
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsDouble
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsDouble
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsDouble
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsDouble
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsFloat.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsFloat
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsFloat
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsFloat
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsFloat
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsFloat
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsFloat
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsInt
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsInt
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsInt
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsInt
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsLong.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsLong
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsLong
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsLong
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsLong
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsLong
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsLong
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsShort.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsShort
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsShort
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsShort
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsShort
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAsShort
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsShort
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

‎test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestByteArrayView.java.template

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,9 @@
2424
/*
2525
* @test
2626
* @bug 8154556
27-
* @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAs$Type$
28-
* @run testng/othervm -Diters=20000 VarHandleTestByteArrayAs$Type$
29-
* @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAs$Type$
27+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAs$Type$
28+
* @run testng/othervm/timeout=360 -Diters=20000 VarHandleTestByteArrayAs$Type$
29+
* @run testng/othervm/timeout=360 -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAs$Type$
3030
*/
3131

3232
import org.testng.annotations.DataProvider;

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Nov 3, 2021

@openjdk-notifier[bot]
Please sign in to comment.