< prev index next >

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

Print this page

        

@@ -25,10 +25,11 @@
  * @test
  * @summary Test checks output displayed with jstat -gccause.
  *          Test scenario:
  *          test forces debuggee application call System.gc(), runs jstat and checks that
  *          cause of last garbage collection displayed by jstat (LGCC) is 'System.gc()'.
+ * @requires vm.gc != "Z"
  * @modules java.base/jdk.internal.misc
  * @library /test/lib
  * @library ../share
  * @run main/othervm -XX:+UsePerfData -Xmx128M -XX:MaxMetaspaceSize=128M GcCauseTest03
  */
< prev index next >