< prev index next >

test/serviceability/tmtools/jstat/GcCauseTest02.java

Print this page

        

*** 26,40 **** * @summary Test checks output displayed with jstat -gccause. * Test scenario: * tests forces debuggee application eat ~70% of heap and runs jstat. * jstat should show that ~70% of heap (OC/OU ~= 70%). * @modules java.base/jdk.internal.misc ! * @library /test/lib/share/classes * @library ../share - * @build common.* - * @build utils.* - * * @run main/othervm -XX:+UsePerfData -Xmx128M -XX:MaxMetaspaceSize=128M GcCauseTest02 */ import utils.*; public class GcCauseTest02 { --- 26,37 ---- * @summary Test checks output displayed with jstat -gccause. * Test scenario: * tests forces debuggee application eat ~70% of heap and runs jstat. * jstat should show that ~70% of heap (OC/OU ~= 70%). * @modules java.base/jdk.internal.misc ! * @library /test/lib * @library ../share * @run main/othervm -XX:+UsePerfData -Xmx128M -XX:MaxMetaspaceSize=128M GcCauseTest02 */ import utils.*; public class GcCauseTest02 {
< prev index next >