Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
8248475: Suppress unconditional warning "JFR will be disabled during …
…CDS dumping"

Reviewed-by: redestad
  • Loading branch information
Markus Grönlund committed Jun 30, 2020
1 parent 05dc2af commit eb1bacc71b60ecf717a4549ef46ecd0ed877c75f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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");
return true;

0 comments on commit eb1bacc

Please sign in to comment.