test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8078554 Cdiff test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java
test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java
Print this page
*** 34,46 ****
* @author igor.ignatyev@oracle.com
*/
public class DoubleTest {
private static final String FLAG_NAME = "CompileThresholdScaling";
! private static final Double[] TESTS = {0d, -0d, -1d, 1d,
! Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN,
! Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY};
public static void main(String[] args) throws Exception {
VmFlagTest.runTest(FLAG_NAME, TESTS,
VmFlagTest.WHITE_BOX::setDoubleVMFlag,
VmFlagTest.WHITE_BOX::getDoubleVMFlag);
--- 34,44 ----
* @author igor.ignatyev@oracle.com
*/
public class DoubleTest {
private static final String FLAG_NAME = "CompileThresholdScaling";
! private static final Double[] TESTS = {0d, -0d, 1d, Double.MAX_VALUE};
public static void main(String[] args) throws Exception {
VmFlagTest.runTest(FLAG_NAME, TESTS,
VmFlagTest.WHITE_BOX::setDoubleVMFlag,
VmFlagTest.WHITE_BOX::getDoubleVMFlag);
test/testlibrary_tests/whitebox/vm_flags/DoubleTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File