test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest02.java
changeset 50525 767cdb97f103
parent 47216 71c04702a3d5
child 51081 7b4cc0cd6fe6
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
    26  * @summary Test checks output displayed with jstat -gccause.
    26  * @summary Test checks output displayed with jstat -gccause.
    27  *          Test scenario:
    27  *          Test scenario:
    28  *          test forces debuggee application eat ~70% of heap and runs jstat.
    28  *          test forces debuggee application eat ~70% of heap and runs jstat.
    29  *          jstat should show actual usage of old gen (OC/OU ~= old gen usage).
    29  *          jstat should show actual usage of old gen (OC/OU ~= old gen usage).
    30  * @requires vm.opt.ExplicitGCInvokesConcurrent != true
    30  * @requires vm.opt.ExplicitGCInvokesConcurrent != true
       
    31  * @requires vm.gc != "Z"
    31  * @modules java.base/jdk.internal.misc
    32  * @modules java.base/jdk.internal.misc
    32  * @library /test/lib
    33  * @library /test/lib
    33  * @library ../share
    34  * @library ../share
    34  * @run main/othervm -XX:+UsePerfData -XX:MaxNewSize=4m -XX:MaxHeapSize=128M -XX:MaxMetaspaceSize=128M GcCauseTest02
    35  * @run main/othervm -XX:+UsePerfData -XX:MaxNewSize=4m -XX:MaxHeapSize=128M -XX:MaxMetaspaceSize=128M GcCauseTest02
    35  */
    36  */