22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test IsMethodCompilableTest |
25 * @test IsMethodCompilableTest |
26 * @bug 8007270 8006683 8007288 8022832 |
26 * @bug 8007270 8006683 8007288 8022832 |
27 * @library /testlibrary /test/lib |
27 * @library /testlibrary /test/lib / |
28 * @modules java.base/sun.misc |
28 * @modules java.base/sun.misc |
29 * java.management |
29 * java.management |
30 * @build jdk.test.lib.* sun.hotspot.WhiteBox |
30 * @build jdk.test.lib.* sun.hotspot.WhiteBox |
31 * @build IsMethodCompilableTest |
31 * @build IsMethodCompilableTest |
32 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
32 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
33 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * @run main ClassFileInstaller jdk.test.lib.Platform |
34 * @run main ClassFileInstaller jdk.test.lib.Platform |
35 * @run main/othervm/timeout=2400 -Xbootclasspath/a:. -Xmixed -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:PerMethodRecompilationCutoff=3 -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* IsMethodCompilableTest |
35 * @run main/othervm/timeout=2400 -Xbootclasspath/a:. -Xmixed -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:PerMethodRecompilationCutoff=3 -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::* IsMethodCompilableTest |
36 * @summary testing of WB::isMethodCompilable() |
36 * @summary testing of WB::isMethodCompilable() |
37 * @author igor.ignatyev@oracle.com |
37 * @author igor.ignatyev@oracle.com |
38 */ |
38 */ |
39 |
39 |
40 import jdk.test.lib.Platform; |
40 import jdk.test.lib.Platform; |
|
41 import compiler.whitebox.CompilerWhiteBoxTest; |
41 |
42 |
42 public class IsMethodCompilableTest extends CompilerWhiteBoxTest { |
43 public class IsMethodCompilableTest extends CompilerWhiteBoxTest { |
43 /** |
44 /** |
44 * Value of {@code -XX:PerMethodRecompilationCutoff} |
45 * Value of {@code -XX:PerMethodRecompilationCutoff} |
45 */ |
46 */ |