< prev index next >
test/jdk/jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 32,44 ****
import jdk.jfr.Recording;
import jdk.jfr.consumer.RecordedEvent;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.GCHelper;
! /*
* @test
* @key jfr
* @library /test/lib
* @run main/othervm -Xlog:gc*=debug -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps jdk.jfr.event.gc.collection.TestGCGarbageCollectionEvent
*/
public class TestGCGarbageCollectionEvent {
--- 32,45 ----
import jdk.jfr.Recording;
import jdk.jfr.consumer.RecordedEvent;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.GCHelper;
! /**
* @test
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm -Xlog:gc*=debug -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps jdk.jfr.event.gc.collection.TestGCGarbageCollectionEvent
*/
public class TestGCGarbageCollectionEvent {
< prev index next >