8248475: Suppress unconditional warning "JFR will be disabled during CDS dumping"
Reviewed-by: redestad
This commit is contained in:
parent
05dc2af21f
commit
eb1bacc71b
@ -173,7 +173,7 @@ static void log_jdk_jfr_module_resolution_error(TRAPS) {
|
||||
|
||||
static bool is_cds_dump_requested() {
|
||||
// we will not be able to launch recordings on startup if a cds dump is being requested
|
||||
if (Arguments::is_dumping_archive()) {
|
||||
if (Arguments::is_dumping_archive() && JfrOptionSet::start_flight_recording_options() != NULL) {
|
||||
warning("JFR will be disabled during CDS dumping");
|
||||
teardown_startup_support();
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user