mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
move the comment to @comment
This commit is contained in:
parent
0e00353194
commit
82382291cc
27 changed files with 74 additions and 54 deletions
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessBoolean
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessBoolean
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessBoolean
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessBoolean
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessBoolean extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessByte
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessByte
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessByte
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessByte
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessByte extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessChar
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessChar
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessChar
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessChar
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessChar extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessDouble
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessDouble
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessDouble
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessDouble
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessDouble extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessFloat
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessFloat
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessFloat
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessFloat
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessFloat extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessInt
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessInt
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessInt
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessInt
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessInt extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessLong
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessLong
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessLong
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessLong
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessLong extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessShort
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessShort
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessShort
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessShort
|
||||
|
@ -280,8 +284,6 @@ public class VarHandleTestAccessShort extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccessString
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccessString
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccessString
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccessString
|
||||
|
@ -287,8 +291,6 @@ public class VarHandleTestAccessString extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsChar
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsChar
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsChar
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsChar extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsDouble
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsDouble
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsDouble
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsDouble extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsFloat
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsFloat
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsFloat
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsFloat extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsInt
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsInt
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsInt extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsLong
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsLong
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsLong
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsLong extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsShort
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAsShort
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAsShort
|
||||
|
@ -219,8 +221,6 @@ public class VarHandleTestByteArrayAsShort extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessBoolean
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessBoolean extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessByte
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessByte extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessChar
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessChar extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessDouble
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessDouble extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessFloat
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessFloat extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessInt
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessInt extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessLong
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessLong extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessShort
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessShort extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccessString
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccessString extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
/*
|
||||
* @test
|
||||
* @run testng/othervm -Diters=10 -Xint VarHandleTestAccess$Type$
|
||||
*
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
*
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestAccess$Type$
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestAccess$Type$
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestAccess$Type$
|
||||
|
@ -331,8 +335,6 @@ public class VarHandleTestAccess$Type$ extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
/*
|
||||
* @test
|
||||
* @bug 8154556
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAs$Type$
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestByteArrayAs$Type$
|
||||
* @run testng/othervm/timeout=360 -Diters=2000 -XX:CompileThresholdScaling=0.1 -XX:-TieredCompilation VarHandleTestByteArrayAs$Type$
|
||||
|
@ -255,8 +257,6 @@ public class VarHandleTestByteArrayAs$Type$ extends VarHandleBaseByteArrayTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @comment Set CompileThresholdScaling to 0.1 so that the warmup loop sets to 2000 iterations
|
||||
* to hit compilation thresholds
|
||||
* @run testng/othervm -Diters=2000 -XX:CompileThresholdScaling=0.1 VarHandleTestMethodHandleAccess$Type$
|
||||
*/
|
||||
|
||||
|
@ -109,8 +111,6 @@ public class VarHandleTestMethodHandleAccess$Type$ extends VarHandleBaseTest {
|
|||
return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new);
|
||||
}
|
||||
|
||||
// CompileThresholdScaling is set to 0.1 and ITERS to 2000 to reduce
|
||||
// the test execution
|
||||
@Test(dataProvider = "accessTestCaseProvider")
|
||||
public <T> void testAccess(String desc, AccessTestCase<T> atc) throws Throwable {
|
||||
T t = atc.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue