< prev index next >

test/compiler/codecache/jmx/BeanTypeTest.java

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

*** 19,46 **** * 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 jdk.test.lib.Asserts; - import java.lang.management.MemoryType; - import sun.hotspot.code.BlobType; - /** * @test BeanTypeTest ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build BeanTypeTest ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache BeanTypeTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:-SegmentedCodeCache BeanTypeTest ! * @summary verify types of code cache memory pool bean */ public class BeanTypeTest { public static void main(String args[]) { for (BlobType bt : BlobType.getAvailable()) { Asserts.assertEQ(MemoryType.NON_HEAP, bt.getMemoryPool().getType()); --- 19,55 ---- * 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 BeanTypeTest ! * @summary verify types of code cache memory pool bean * @modules java.base/jdk.internal.misc ! * java.management ! * @library /testlibrary /test/lib ! * ! * @build compiler.codecache.jmx.BeanTypeTest ! * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * -XX:+SegmentedCodeCache ! * compiler.codecache.jmx.BeanTypeTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * -XX:-SegmentedCodeCache ! * compiler.codecache.jmx.BeanTypeTest */ + + package compiler.codecache.jmx; + + import jdk.test.lib.Asserts; + import sun.hotspot.code.BlobType; + + import java.lang.management.MemoryType; + public class BeanTypeTest { public static void main(String args[]) { for (BlobType bt : BlobType.getAvailable()) { Asserts.assertEQ(MemoryType.NON_HEAP, bt.getMemoryPool().getType());
< prev index next >