test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
changeset 50851 b1b5306fadea
parent 50113 caf115bb98ad
child 51214 67736b4846a0
equal deleted inserted replaced
50850:208eff1d03e0 50851:b1b5306fadea
    72                                              "-XX:FlightRecorderOptions=retransform=true",
    72                                              "-XX:FlightRecorderOptions=retransform=true",
    73                                              "GetFlightRecorder"));
    73                                              "GetFlightRecorder"));
    74         TestCommon.checkExec(TestCommon.exec(appJar,
    74         TestCommon.checkExec(TestCommon.exec(appJar,
    75                                              "-XX:FlightRecorderOptions=retransform=false",
    75                                              "-XX:FlightRecorderOptions=retransform=false",
    76                                              "GetFlightRecorder"));
    76                                              "GetFlightRecorder"));
       
    77 
       
    78         // Test dumping with flight recorder enabled.
       
    79         output = TestCommon.testDump(appJar, TestCommon.list(classes),
       
    80                                      "-XX:StartFlightRecording=dumponexit=true");
       
    81         TestCommon.checkDump(output, "warning: JFR will be disabled during CDS dumping");
    77     }
    82     }
    78 }
    83 }