< prev index next >

test/hotspot/jtreg/serviceability/tmtools/jstat/GcNewTest.java

Print this page
rev 53307 : Backport Shenadoah GC

*** 27,37 **** * @summary Test checks output displayed with jstat -gcnew. * 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. ! * @requires vm.gc != "Z" * @modules java.base/jdk.internal.misc * @library /test/lib * @library ../share * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest */ --- 27,37 ---- * @summary Test checks output displayed with jstat -gcnew. * 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. ! * @requires vm.gc != "Z" & vm.gc != "Shenandoah" * @modules java.base/jdk.internal.misc * @library /test/lib * @library ../share * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest */
< prev index next >