< prev index next >

test/serviceability/tmtools/jstat/GcNewTest.java

Print this page

        

*** 28,41 **** * Test scenario: * test several times provokes garbage collection in the debuggee application and after each garbage * collection runs jstat. jstat should show that after garbage collection number of GC events and garbage * collection time increase. * @modules java.base/jdk.internal.misc ! * @library /test/lib/share/classes * @library ../share - * @build common.* - * @build utils.* * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest */ public class GcNewTest { --- 28,39 ---- * Test scenario: * test several times provokes garbage collection in the debuggee application and after each garbage * collection runs jstat. jstat should show that after garbage collection number of GC events and garbage * collection time increase. * @modules java.base/jdk.internal.misc ! * @library /test/lib * @library ../share * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest */ public class GcNewTest {
< prev index next >