equal
deleted
inserted
replaced
30 import jdk.jfr.Recording; |
30 import jdk.jfr.Recording; |
31 import jdk.jfr.RecordingState; |
31 import jdk.jfr.RecordingState; |
32 import jdk.test.lib.Asserts; |
32 import jdk.test.lib.Asserts; |
33 import jdk.test.lib.jfr.CommonHelper; |
33 import jdk.test.lib.jfr.CommonHelper; |
34 |
34 |
35 /* |
35 /** |
36 * @test |
36 * @test |
37 * @summary Start a recording with delay. Verify recording starts later. |
37 * @summary Start a recording with delay. Verify recording starts later. |
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:StartFlightRecording=name=TestStartMaxAgeSize,maxage=10s,maxsize=1000000 jdk.jfr.startupargs.TestStartMaxAgeSize |
41 * @run main/othervm -XX:StartFlightRecording=name=TestStartMaxAgeSize,maxage=10s,maxsize=1000000 jdk.jfr.startupargs.TestStartMaxAgeSize |
41 */ |
42 */ |
42 public class TestStartMaxAgeSize { |
43 public class TestStartMaxAgeSize { |
43 |
44 |