< prev index next >
test/jdk/jdk/jfr/jcmd/TestJcmdStartWithOptions.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 30,43 ****
import jdk.jfr.FlightRecorder;
import jdk.jfr.Recording;
import jdk.jfr.RecordingState;
import jdk.test.lib.process.OutputAnalyzer;
! /*
* @test
* @summary The test verifies that recording can be started with options delay|duration|maxage|maxsize
* @key jfr
* @library /test/lib /test/jdk
* @run main/othervm -XX:+FlightRecorder -XX:FlightRecorderOptions=maxchunksize=2097152 jdk.jfr.jcmd.TestJcmdStartWithOptions
*/
public class TestJcmdStartWithOptions {
--- 30,44 ----
import jdk.jfr.FlightRecorder;
import jdk.jfr.Recording;
import jdk.jfr.RecordingState;
import jdk.test.lib.process.OutputAnalyzer;
! /**
* @test
* @summary The test verifies that recording can be started with options delay|duration|maxage|maxsize
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm -XX:+FlightRecorder -XX:FlightRecorderOptions=maxchunksize=2097152 jdk.jfr.jcmd.TestJcmdStartWithOptions
*/
public class TestJcmdStartWithOptions {
< prev index next >