< prev index next >

test/compiler/whitebox/ClearMethodStateTest.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 19,45 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ - import java.util.function.Function; - - import compiler.whitebox.CompilerWhiteBoxTest; - /* * @test ClearMethodStateTest * @bug 8006683 8007288 8022832 * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build ClearMethodStateTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+PrintCompilation -XX:-UseCounterDecay ClearMethodStateTest ! * @summary testing of WB::clearMethodState() ! * @author igor.ignatyev@oracle.com */ public class ClearMethodStateTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception { String directive = "[{ match:\"*SimpleTestCaseHelper.*\", BackgroundCompilation: false }, " + --- 19,45 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ /* * @test ClearMethodStateTest * @bug 8006683 8007288 8022832 + * @summary testing of WB::clearMethodState() * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * java.management ! * @build compiler.whitebox.ClearMethodStateTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:+PrintCompilation -XX:-UseCounterDecay ! * compiler.whitebox.ClearMethodStateTest */ + + package compiler.whitebox; + public class ClearMethodStateTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception { String directive = "[{ match:\"*SimpleTestCaseHelper.*\", BackgroundCompilation: false }, " +
< prev index next >