hotspot/test/compiler/whitebox/ForceNMethodSweepTest.java
changeset 34185 ee71c590a456
parent 33730 30e064828045
parent 34155 8d9e0cbf93a2
child 36818 b40330c06dea
equal deleted inserted replaced
33813:4f376e851453 34185:ee71c590a456
    28 import sun.hotspot.WhiteBox;
    28 import sun.hotspot.WhiteBox;
    29 import sun.hotspot.code.BlobType;
    29 import sun.hotspot.code.BlobType;
    30 
    30 
    31 import jdk.test.lib.Asserts;
    31 import jdk.test.lib.Asserts;
    32 import jdk.test.lib.InfiniteLoop;
    32 import jdk.test.lib.InfiniteLoop;
       
    33 import compiler.whitebox.CompilerWhiteBoxTest;
    33 
    34 
    34 /*
    35 /*
    35  * @test
    36  * @test
    36  * @bug 8059624 8064669
    37  * @bug 8059624 8064669
    37  * @library /testlibrary /test/lib
    38  * @library /testlibrary /test/lib /
    38  * @modules java.management
    39  * @modules java.management
    39  * @build ForceNMethodSweepTest
    40  * @build ForceNMethodSweepTest
    40  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    41  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    41  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    42  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    42  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    43  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    43  *                   -XX:-TieredCompilation -XX:+WhiteBoxAPI
    44  *                   -XX:-TieredCompilation -XX:+WhiteBoxAPI
    44  *                   -XX:CompileCommand=compileonly,SimpleTestCase$Helper::*
    45  *                   -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::*
    45  *                   -XX:-BackgroundCompilation ForceNMethodSweepTest
    46  *                   -XX:-BackgroundCompilation ForceNMethodSweepTest
    46  * @summary testing of WB::forceNMethodSweep
    47  * @summary testing of WB::forceNMethodSweep
    47  */
    48  */
    48 public class ForceNMethodSweepTest extends CompilerWhiteBoxTest {
    49 public class ForceNMethodSweepTest extends CompilerWhiteBoxTest {
    49     public static void main(String[] args) throws Exception {
    50     public static void main(String[] args) throws Exception {