< prev index next >

test/compiler/whitebox/ForceNMethodSweepTest.java

Print this page

        

*** 28,49 **** import sun.hotspot.WhiteBox; import sun.hotspot.code.BlobType; import jdk.test.lib.Asserts; import jdk.test.lib.InfiniteLoop; /* * @test * @bug 8059624 8064669 ! * @library /testlibrary /../../test/lib * @modules java.management * @build ForceNMethodSweepTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:-TieredCompilation -XX:+WhiteBoxAPI ! * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* * -XX:-BackgroundCompilation ForceNMethodSweepTest * @summary testing of WB::forceNMethodSweep */ public class ForceNMethodSweepTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception { --- 28,50 ---- import sun.hotspot.WhiteBox; import sun.hotspot.code.BlobType; import jdk.test.lib.Asserts; import jdk.test.lib.InfiniteLoop; + import compiler.whitebox.CompilerWhiteBoxTest; /* * @test * @bug 8059624 8064669 ! * @library /testlibrary /../../test/lib / * @modules java.management * @build ForceNMethodSweepTest * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:-TieredCompilation -XX:+WhiteBoxAPI ! * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::* * -XX:-BackgroundCompilation ForceNMethodSweepTest * @summary testing of WB::forceNMethodSweep */ public class ForceNMethodSweepTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception {
< prev index next >