8266150: mark hotspot compiler/arguments tests which ignore VM flags
Reviewed-by: kvn
This commit is contained in:
parent
feb18d292f
commit
eeddb30344
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,6 +26,7 @@
|
||||
* @bug 8130858 8132525 8162881
|
||||
* @summary Check that correct range of values for CICompilerCount are allowed depending on whether tiered is enabled or not
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @run driver compiler.arguments.CheckCICompilerCount
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,8 +26,10 @@
|
||||
* @bug 8059604
|
||||
* @summary Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)
|
||||
* @library /test/lib
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @run driver compiler.arguments.CheckCompileThresholdScaling
|
||||
*/
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @bug 8033441
|
||||
* @summary Test to ensure that line numbers are now present with the -XX:+PrintOptoAssembly command line option
|
||||
*
|
||||
* @requires vm.flagless
|
||||
* @requires vm.compiler2.enabled & vm.debug == true
|
||||
*
|
||||
* @library /test/lib
|
||||
@ -56,7 +57,7 @@ public class TestPrintOptoAssemblyLineNumbers {
|
||||
|
||||
if (oa.getOutput().contains("TestPrintOptoAssemblyLineNumbers$CheckC2OptoAssembly::main @ bci:11")) {
|
||||
// if C2 optimizer invoked ensure output includes line numbers:
|
||||
oa.stdoutShouldContain("TestPrintOptoAssemblyLineNumbers$CheckC2OptoAssembly::main @ bci:11 (line 71)");
|
||||
oa.stdoutShouldContain("TestPrintOptoAssemblyLineNumbers$CheckC2OptoAssembly::main @ bci:11 (line 72)");
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,7 +69,7 @@ public class TestPrintOptoAssemblyLineNumbers {
|
||||
public static void main(String[] args) {
|
||||
int count = 0;
|
||||
for (int x = 0; x < 200_000; x++) {
|
||||
if (foo("something" + x)) { // <- test expects this line of code to be on line 71
|
||||
if (foo("something" + x)) { // <- test expects this line of code to be on line 72
|
||||
count += 1;
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,10 @@
|
||||
* @summary Verify processing of UseBMI1Instructions option on CPU with
|
||||
* BMI1 feature support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
|
@ -27,8 +27,10 @@
|
||||
* @summary Verify processing of UseBMI1Instructions option on CPU without
|
||||
* BMI1 feature support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @summary Verify processing of UseCountLeadingZerosInstruction option
|
||||
* on CPU with LZCNT support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @summary Verify processing of UseCountLeadingZerosInstruction option
|
||||
* on CPU without LZCNT support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @summary Verify processing of UseCountTrailingZerosInstruction option
|
||||
* on CPU with TZCNT (BMI1 feature) support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @summary Verify processing of UseCountTrailingZerosInstruction option
|
||||
* on CPU without TZCNT instruction (BMI1 feature) support.
|
||||
* @library /test/lib /
|
||||
* @requires vm.flagless
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user