< prev index next >

test/serviceability/dcmd/gc/ClassHistogramTest.java

Print this page

        

*** 23,46 **** import org.testng.annotations.Test; import java.util.regex.Pattern; ! import jdk.test.lib.OutputAnalyzer; import jdk.test.lib.dcmd.CommandExecutor; import jdk.test.lib.dcmd.JMXExecutor; /* * @test * @summary Test of diagnostic command GC.class_histogram ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.compiler * java.management * jdk.jvmstat/sun.jvmstat.monitor - * @build jdk.test.lib.* - * @build jdk.test.lib.dcmd.* * @run testng ClassHistogramTest */ public class ClassHistogramTest { public static class TestClass {} public static TestClass[] instances = new TestClass[1024]; --- 23,44 ---- import org.testng.annotations.Test; import java.util.regex.Pattern; ! import jdk.test.lib.process.OutputAnalyzer; import jdk.test.lib.dcmd.CommandExecutor; import jdk.test.lib.dcmd.JMXExecutor; /* * @test * @summary Test of diagnostic command GC.class_histogram ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.compiler * java.management * jdk.jvmstat/sun.jvmstat.monitor * @run testng ClassHistogramTest */ public class ClassHistogramTest { public static class TestClass {} public static TestClass[] instances = new TestClass[1024];
< prev index next >