8314019: Add gc logging to jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java

Reviewed-by: aboldtch, eosterlund
This commit is contained in:
Stefan Karlsson 2023-08-14 08:45:16 +00:00
parent a39ed1087b
commit 049b55f24e

@ -36,7 +36,7 @@ import jdk.test.lib.jfr.Events;
* @requires vm.hasJFR & vm.gc.ZSinglegen
* @key jfr
* @library /test/lib /test/jdk /test/hotspot/jtreg
* @run main/othervm -XX:+UseZGC -XX:-ZGenerational -Xmx32M jdk.jfr.event.gc.detailed.TestZAllocationStallEvent
* @run main/othervm -XX:+UseZGC -XX:-ZGenerational -Xmx32M -Xlog:gc*:gc.log::filecount=0 jdk.jfr.event.gc.detailed.TestZAllocationStallEvent
*/
/**
@ -44,7 +44,7 @@ import jdk.test.lib.jfr.Events;
* @requires vm.hasJFR & vm.gc.ZGenerational
* @key jfr
* @library /test/lib /test/jdk /test/hotspot/jtreg
* @run main/othervm -XX:+UseZGC -XX:+ZGenerational -Xmx32M jdk.jfr.event.gc.detailed.TestZAllocationStallEvent
* @run main/othervm -XX:+UseZGC -XX:+ZGenerational -Xmx32M -Xlog:gc*:gc.log::filecount=0 jdk.jfr.event.gc.detailed.TestZAllocationStallEvent
*/
public class TestZAllocationStallEvent {