< prev index next >

test/compiler/codecache/jmx/PeakUsageTest.java

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

*** 19,50 **** * 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 PeakUsageTest ! * @library /testlibrary /test/lib ! * @ignore 8151345 * @modules java.base/jdk.internal.misc * java.management ! * @build PeakUsageTest ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache ! * -XX:CompileCommand=compileonly,null::* PeakUsageTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:-SegmentedCodeCache ! * -XX:CompileCommand=compileonly,null::* PeakUsageTest * @summary testing of getPeakUsage() and resetPeakUsage for * segmented code cache */ public class PeakUsageTest { private final BlobType btype; public PeakUsageTest(BlobType btype) { --- 19,57 ---- * 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 PeakUsageTest ! * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * ! * @ignore 8151345 ! * @build ompiler.codecache.jmx.PeakUsageTest ! * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,null::* ! * -XX:+SegmentedCodeCache ! * compiler.codecache.jmx.PeakUsageTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,null::* ! * -XX:-SegmentedCodeCache ! * compiler.codecache.jmx.PeakUsageTest * @summary testing of getPeakUsage() and resetPeakUsage for * segmented code cache */ + + package compiler.codecache.jmx; + + import sun.hotspot.code.BlobType; + + import java.lang.management.MemoryPoolMXBean; + + public class PeakUsageTest { private final BlobType btype; public PeakUsageTest(BlobType btype) {
< prev index next >