< 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 com.oracle.java.testlibrary.OutputAnalyzer;
! import com.oracle.java.testlibrary.dcmd.CommandExecutor;
! import com.oracle.java.testlibrary.dcmd.JMXExecutor;
/*
* @test
* @summary Test of diagnostic command GC.class_histogram
* @library /testlibrary
* @modules java.base/sun.misc
* java.compiler
* java.management
* jdk.jvmstat/sun.jvmstat.monitor
! * @build com.oracle.java.testlibrary.*
! * @build com.oracle.java.testlibrary.dcmd.*
* @run testng ClassHistogramTest
*/
public class ClassHistogramTest {
public static class TestClass {}
public static TestClass[] instances = new TestClass[1024];
--- 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/sun.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];
< prev index next >