< prev index next >
test/jdk/jdk/jfr/api/consumer/TestRecordedFrame.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 35,48 ****
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /*
* @test
* @summary Simple test for RecordedFrame APIs
* @key jfr
* @library /test/lib
* @run main/othervm -Xint -XX:+UseInterpreter -Dinterpreted=true jdk.jfr.api.consumer.TestRecordedFrame
* @run main/othervm -Xcomp -XX:-UseInterpreter -Dinterpreted=false jdk.jfr.api.consumer.TestRecordedFrame
*/
public final class TestRecordedFrame {
--- 35,49 ----
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /**
* @test
* @summary Simple test for RecordedFrame APIs
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm -Xint -XX:+UseInterpreter -Dinterpreted=true jdk.jfr.api.consumer.TestRecordedFrame
* @run main/othervm -Xcomp -XX:-UseInterpreter -Dinterpreted=false jdk.jfr.api.consumer.TestRecordedFrame
*/
public final class TestRecordedFrame {
< prev index next >