test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
open Cdiff test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
Print this page
*** 72,78 ****
--- 72,89 ----
"-XX:FlightRecorderOptions=retransform=true",
"GetFlightRecorder"));
TestCommon.checkExec(TestCommon.exec(appJar,
"-XX:FlightRecorderOptions=retransform=false",
"GetFlightRecorder"));
+
+ // Test dumping with flight recorder enabled.
+ output = TestCommon.testDump(appJar, TestCommon.list(classes),
+ "-XX:StartFlightRecording=dumponexit=true");
+ TestCommon.checkDump(output, "Skipping JFR event class jdk/jfr/");
+ TestCommon.checkDump(output, "Skipping redefined class");
+ // Test running with the archive generated with flight recorder enabled.
+ output = TestCommon.exec(appJar,
+ "-XX:StartFlightRecording=dumponexit=true",
+ "Hello");
+ TestCommon.checkExec(output, "Hello World");
}
}
test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File