test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/runtime/appcds/CDSandJFR.java	Fri Jun 22 16:52:26 2018
--- new/test/hotspot/jtreg/runtime/appcds/CDSandJFR.java	Fri Jun 22 16:52:25 2018

*** 72,78 **** --- 72,83 ---- "-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, "warning: JFR will be disabled during CDS dumping"); } }

test/hotspot/jtreg/runtime/appcds/CDSandJFR.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File