equal
deleted
inserted
replaced
29 import java.nio.file.Files; |
29 import java.nio.file.Files; |
30 import java.nio.file.Paths; |
30 import java.nio.file.Paths; |
31 import java.util.ArrayList; |
31 import java.util.ArrayList; |
32 import java.util.List; |
32 import java.util.List; |
33 |
33 |
34 /* |
34 /** |
35 * @test TestLogOutput |
35 * @test TestLogOutput |
36 * @key jfr |
36 * @key jfr |
37 * @summary Sanity test jfr logging output |
37 * @summary Sanity test jfr logging output |
|
38 * @requires vm.hasJFR |
38 * @library /test/lib |
39 * @library /test/lib |
39 * @run main/othervm -Xlog:disable -Xlog:jfr*=trace:file=jfr_trace.txt -XX:StartFlightRecording=duration=1s,filename=recording.jfr jdk.jfr.jvm.TestLogOutput |
40 * @run main/othervm -Xlog:disable -Xlog:jfr*=trace:file=jfr_trace.txt -XX:StartFlightRecording=duration=1s,filename=recording.jfr jdk.jfr.jvm.TestLogOutput |
40 */ |
41 */ |
41 public class TestLogOutput { |
42 public class TestLogOutput { |
42 public static void main(String[] args) throws Exception { |
43 public static void main(String[] args) throws Exception { |