test/hotspot/jtreg/serviceability/tmtools/jstat/GcNewTest.java
changeset 50525 767cdb97f103
parent 47216 71c04702a3d5
child 52925 9c18c9d839d3
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
    27  * @summary Test checks output displayed with jstat -gcnew.
    27  * @summary Test checks output displayed with jstat -gcnew.
    28  *          Test scenario:
    28  *          Test scenario:
    29  *          test several times provokes garbage collection in the debuggee application and after each garbage
    29  *          test several times provokes garbage collection in the debuggee application and after each garbage
    30  *          collection runs jstat. jstat should show that after garbage collection number of GC events and garbage
    30  *          collection runs jstat. jstat should show that after garbage collection number of GC events and garbage
    31  *          collection time increase.
    31  *          collection time increase.
       
    32  * @requires vm.gc != "Z"
    32  * @modules java.base/jdk.internal.misc
    33  * @modules java.base/jdk.internal.misc
    33  * @library /test/lib
    34  * @library /test/lib
    34  * @library ../share
    35  * @library ../share
    35  * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest
    36  * @run main/othervm -XX:+UsePerfData -Xmx128M GcNewTest
    36  */
    37  */