< prev index next >

test/jdk/jdk/jfr/jmx/TestCopyToRunning.java

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

*** 36,49 **** import jdk.jfr.consumer.RecordingFile; import jdk.management.jfr.FlightRecorderMXBean; import jdk.test.lib.Asserts; import jdk.test.lib.jfr.SimpleEventHelper; ! /* * @test * @key jfr * @summary Copy a recording to file while it is running. * @library /test/lib /test/jdk * @run main/othervm jdk.jfr.jmx.TestCopyToRunning */ public class TestCopyToRunning { public static void main(String[] args) throws Exception { --- 36,50 ---- import jdk.jfr.consumer.RecordingFile; import jdk.management.jfr.FlightRecorderMXBean; import jdk.test.lib.Asserts; import jdk.test.lib.jfr.SimpleEventHelper; ! /** * @test * @key jfr * @summary Copy a recording to file while it is running. + * @requires vm.hasJFR * @library /test/lib /test/jdk * @run main/othervm jdk.jfr.jmx.TestCopyToRunning */ public class TestCopyToRunning { public static void main(String[] args) throws Exception {
< prev index next >