32 import com.oracle.java.testlibrary.InfiniteLoop; |
32 import com.oracle.java.testlibrary.InfiniteLoop; |
33 |
33 |
34 /* |
34 /* |
35 * @test |
35 * @test |
36 * @bug 8059624 8064669 |
36 * @bug 8059624 8064669 |
37 * @ignore 8066998 |
|
38 * @library /testlibrary /../../test/lib |
37 * @library /testlibrary /../../test/lib |
39 * @build ForceNMethodSweepTest |
38 * @build ForceNMethodSweepTest |
40 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
39 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
41 * sun.hotspot.WhiteBox$WhiteBoxPermission |
40 * sun.hotspot.WhiteBox$WhiteBoxPermission |
42 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
41 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
43 * -XX:-TieredCompilation -XX:+WhiteBoxAPI |
42 * -XX:-TieredCompilation -XX:+WhiteBoxAPI |
44 * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* |
43 * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* |
45 * ForceNMethodSweepTest |
44 * -XX:-BackgroundCompilation ForceNMethodSweepTest |
46 * @summary testing of WB::forceNMethodSweep |
45 * @summary testing of WB::forceNMethodSweep |
47 */ |
46 */ |
48 public class ForceNMethodSweepTest extends CompilerWhiteBoxTest { |
47 public class ForceNMethodSweepTest extends CompilerWhiteBoxTest { |
49 public static void main(String[] args) throws Exception { |
48 public static void main(String[] args) throws Exception { |
50 CompilerWhiteBoxTest.main(ForceNMethodSweepTest::new, args); |
49 CompilerWhiteBoxTest.main(ForceNMethodSweepTest::new, args); |