equal
deleted
inserted
replaced
30 |
30 |
31 import jdk.jfr.consumer.RecordingFile; |
31 import jdk.jfr.consumer.RecordingFile; |
32 import jdk.test.lib.Asserts; |
32 import jdk.test.lib.Asserts; |
33 import jdk.test.lib.process.OutputAnalyzer; |
33 import jdk.test.lib.process.OutputAnalyzer; |
34 |
34 |
35 /* |
35 /** |
36 * @test |
36 * @test |
37 * @summary Start a recording with -XX:StartFlightRecording. Dump recording with jcmd. |
37 * @summary Start a recording with -XX:StartFlightRecording. Dump recording with jcmd. |
38 * @key jfr |
38 * @key jfr |
|
39 * @requires vm.hasJFR |
39 * @library /test/lib /test/jdk |
40 * @library /test/lib /test/jdk |
40 * @run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile jdk.jfr.startupargs.TestStartRecording |
41 * @run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile jdk.jfr.startupargs.TestStartRecording |
41 */ |
42 */ |
42 public class TestStartRecording { |
43 public class TestStartRecording { |
43 |
44 |