mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8248475: Suppress unconditional warning "JFR will be disabled during CDS dumping"
Reviewed-by: redestad
This commit is contained in:
parent
05dc2af21f
commit
eb1bacc71b
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ static void log_jdk_jfr_module_resolution_error(TRAPS) {
|
||||||
|
|
||||||
static bool is_cds_dump_requested() {
|
static bool is_cds_dump_requested() {
|
||||||
// we will not be able to launch recordings on startup if a cds dump is being 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");
|
warning("JFR will be disabled during CDS dumping");
|
||||||
teardown_startup_support();
|
teardown_startup_support();
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue