test/jdk/jdk/jfr/jcmd/TestJcmdStartWithOptions.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    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