< prev index next >

test/compiler/codecache/jmx/ManagerNamesTest.java

Print this page

        

*** 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.MemoryPoolMXBean; - import sun.hotspot.code.BlobType; - /** * @test ManagerNamesTest ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build ManagerNamesTest ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache ManagerNamesTest ! * * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:-SegmentedCodeCache ManagerNamesTest ! * @summary verify getMemoryManageNames calls in case of segmented code cache */ public class ManagerNamesTest { private final MemoryPoolMXBean bean; private final static String POOL_NAME = "CodeCacheManager"; --- 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 ManagerNamesTest ! * @summary verify getMemoryManageNames calls in case of segmented code cache * @modules java.base/jdk.internal.misc ! * java.management ! * @library /testlibrary /test/lib ! * ! * @build compiler.codecache.jmx.ManagerNamesTest ! * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * -XX:+SegmentedCodeCache ! * compiler.codecache.jmx.ManagerNamesTest ! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI ! * -XX:-SegmentedCodeCache ! * compiler.codecache.jmx.ManagerNamesTest */ + + package compiler.codecache.jmx; + + import jdk.test.lib.Asserts; + import sun.hotspot.code.BlobType; + + import java.lang.management.MemoryPoolMXBean; + public class ManagerNamesTest { private final MemoryPoolMXBean bean; private final static String POOL_NAME = "CodeCacheManager";
< prev index next >