< prev index next >

test/jdk/jdk/jfr/event/oldobject/TestSerial.java

Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch

@@ -32,13 +32,14 @@
 import jdk.jfr.consumer.RecordedEvent;
 import jdk.jfr.internal.test.WhiteBox;
 import jdk.test.lib.jfr.EventNames;
 import jdk.test.lib.jfr.Events;
 
-/*
+/**
  * @test
  * @key jfr
+ * @requires vm.hasJFR
  * @requires vm.gc == "null"
  * @summary Test leak profiler with Serial GC
  * @library /test/lib /test/jdk
  * @modules jdk.jfr/jdk.jfr.internal.test
  * @run main/othervm  -XX:TLABSize=2k -XX:+UseSerialGC jdk.jfr.event.oldobject.TestSerial
< prev index next >