equal
deleted
inserted
replaced
30 import jdk.jfr.FlightRecorder; |
30 import jdk.jfr.FlightRecorder; |
31 import jdk.jfr.Recording; |
31 import jdk.jfr.Recording; |
32 import jdk.jfr.RecordingState; |
32 import jdk.jfr.RecordingState; |
33 import jdk.test.lib.process.OutputAnalyzer; |
33 import jdk.test.lib.process.OutputAnalyzer; |
34 |
34 |
35 /* |
35 /** |
36 * @test |
36 * @test |
37 * @summary The test verifies that recording can be started with options delay|duration|maxage|maxsize |
37 * @summary The test verifies that recording can be started with options delay|duration|maxage|maxsize |
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:+FlightRecorder -XX:FlightRecorderOptions=maxchunksize=2097152 jdk.jfr.jcmd.TestJcmdStartWithOptions |
41 * @run main/othervm -XX:+FlightRecorder -XX:FlightRecorderOptions=maxchunksize=2097152 jdk.jfr.jcmd.TestJcmdStartWithOptions |
41 */ |
42 */ |
42 public class TestJcmdStartWithOptions { |
43 public class TestJcmdStartWithOptions { |
43 |
44 |