hotspot/test/compiler/arguments/CheckCompileThresholdScaling.java
changeset 40072 08c515bbbdea
parent 39960 ec06b2cf8575
parent 40059 c2304140ed64
child 40631 ed82623d7831
equal deleted inserted replaced
39980:dcef6760667c 40072:08c515bbbdea
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 import jdk.test.lib.*;
       
    25 
       
    26 /*
    24 /*
    27  * @test CheckCompileThresholdScaling
    25  * @test CheckCompileThresholdScaling
    28  * @bug 8059604
    26  * @bug 8059604
    29  * @summary "Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)"
    27  * @summary Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)
    30  * @library /testlibrary
    28  * @library /testlibrary
    31  * @modules java.base/jdk.internal.misc
    29  * @modules java.base/jdk.internal.misc
    32  *          java.management
    30  *          java.management
    33  * @run main CheckCompileThresholdScaling
    31  * @run driver compiler.arguments.CheckCompileThresholdScaling
    34  */
    32  */
       
    33 
       
    34 package compiler.arguments;
       
    35 
       
    36 import jdk.test.lib.OutputAnalyzer;
       
    37 import jdk.test.lib.ProcessTools;
    35 
    38 
    36 public class CheckCompileThresholdScaling {
    39 public class CheckCompileThresholdScaling {
    37 
    40 
    38     // The flag CompileThresholdScaling scales compilation thresholds
    41     // The flag CompileThresholdScaling scales compilation thresholds
    39     // in the following way:
    42     // in the following way: