Skip to content

Commit b1a768e

Browse files
committed
Set default warm up to 10000 for JTReg tests
1 parent 8418ebd commit b1a768e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ public static void testOneCastToDifferentType_runner() {
117117

118118
public static void main(String[] args) {
119119
TestFramework testFramework = new TestFramework();
120-
testFramework.addFlags("--add-modules=jdk.incubator.vector")
120+
testFramework.setDefaultWarmup(10000)
121+
.addFlags("--add-modules=jdk.incubator.vector")
121122
.start();
122123
}
123124
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ public static void testMaskFromLongDouble() {
263263

264264
public static void main(String[] args) {
265265
TestFramework testFramework = new TestFramework();
266-
testFramework.addFlags("--add-modules=jdk.incubator.vector")
266+
testFramework.setDefaultWarmup(10000)
267+
.addFlags("--add-modules=jdk.incubator.vector")
267268
.start();
268269
}
269270
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ public static void testFromLongToLongDouble() {
256256

257257
public static void main(String[] args) {
258258
TestFramework testFramework = new TestFramework();
259-
testFramework.addFlags("--add-modules=jdk.incubator.vector")
259+
testFramework.setDefaultWarmup(10000)
260+
.addFlags("--add-modules=jdk.incubator.vector")
260261
.start();
261262
}
262263
}

0 commit comments

Comments
 (0)