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 java.util.function.Function; |
24 import java.util.function.Function; |
|
25 import compiler.whitebox.CompilerWhiteBoxTest; |
25 |
26 |
26 /* |
27 /* |
27 * @test ClearMethodStateTest |
28 * @test ClearMethodStateTest |
28 * @bug 8006683 8007288 8022832 |
29 * @bug 8006683 8007288 8022832 |
29 * @library /testlibrary /../../test/lib |
30 * @library /testlibrary /../../test/lib / |
30 * @modules java.management |
31 * @modules java.management |
31 * @build ClearMethodStateTest |
32 * @build ClearMethodStateTest |
32 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
33 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
33 * sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* ClearMethodStateTest |
35 * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::* ClearMethodStateTest |
35 * @summary testing of WB::clearMethodState() |
36 * @summary testing of WB::clearMethodState() |
36 * @author igor.ignatyev@oracle.com |
37 * @author igor.ignatyev@oracle.com |
37 */ |
38 */ |
38 public class ClearMethodStateTest extends CompilerWhiteBoxTest { |
39 public class ClearMethodStateTest extends CompilerWhiteBoxTest { |
39 |
40 |