test/jdk/jdk/jfr/jcmd/TestJcmdSaveToFile.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    28 import java.io.File;
    28 import java.io.File;
    29 
    29 
    30 import jdk.test.lib.jfr.FileHelper;
    30 import jdk.test.lib.jfr.FileHelper;
    31 import jdk.test.lib.process.OutputAnalyzer;
    31 import jdk.test.lib.process.OutputAnalyzer;
    32 
    32 
    33 /*
    33 /**
    34  * @test
    34  * @test
    35  * @summary The test verifies that recording can be written to a file both with JFR.start and JFR.stop
    35  * @summary The test verifies that recording can be written to a file both with JFR.start and JFR.stop
    36  * @key jfr
    36  * @key jfr
       
    37  * @requires vm.hasJFR
    37  * @library /test/lib /test/jdk
    38  * @library /test/lib /test/jdk
    38  * @run main/othervm jdk.jfr.jcmd.TestJcmdSaveToFile
    39  * @run main/othervm jdk.jfr.jcmd.TestJcmdSaveToFile
    39  */
    40  */
    40 public class TestJcmdSaveToFile {
    41 public class TestJcmdSaveToFile {
    41 
    42