< prev index next >

test/serviceability/tmtools/jstat/GcCauseTest01.java

Print this page

        

*** 27,42 **** * 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 * @requires vm.opt.ExplicitGCInvokesConcurrent != true - * @build common.* - * @build utils.* - * * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 */ import utils.*; public class GcCauseTest01 { --- 27,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 * @requires vm.opt.ExplicitGCInvokesConcurrent != true * @run main/othervm -XX:+UsePerfData -Xmx128M GcCauseTest01 */ import utils.*; public class GcCauseTest01 {
< prev index next >