< prev index next >
test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest02.java
Print this page
*** 26,36 ****
* @summary Test checks output displayed with jstat -gccause.
* Test scenario:
* test forces debuggee application eat ~70% of heap and runs jstat.
* jstat should show actual usage of old gen (OC/OU ~= old gen usage).
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
! * @requires vm.gc != "Z"
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @library ../share
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies
-XX:+UsePerfData -XX:MaxNewSize=4m -XX:MaxHeapSize=128M -XX:MaxMetaspaceSize=128M GcCauseTest02
--- 26,36 ----
* @summary Test checks output displayed with jstat -gccause.
* Test scenario:
* test forces debuggee application eat ~70% of heap and runs jstat.
* jstat should show actual usage of old gen (OC/OU ~= old gen usage).
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
! * @requires vm.gc != "Z" & vm.gc != "Shenandoah"
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @library ../share
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies
-XX:+UsePerfData -XX:MaxNewSize=4m -XX:MaxHeapSize=128M -XX:MaxMetaspaceSize=128M GcCauseTest02
< prev index next >