equal
deleted
inserted
replaced
166 JfrJavaSupport::is_jdk_jfr_module_available(&stream, THREAD); |
166 JfrJavaSupport::is_jdk_jfr_module_available(&stream, THREAD); |
167 } |
167 } |
168 |
168 |
169 static bool is_cds_dump_requested() { |
169 static bool is_cds_dump_requested() { |
170 // we will not be able to launch recordings if a cds dump is being requested |
170 // we will not be able to launch recordings if a cds dump is being requested |
171 if ((DumpSharedSpaces || DynamicDumpSharedSpaces) && (JfrOptionSet::startup_recording_options() != NULL)) { |
171 if (Arguments::is_dumping_archive() && (JfrOptionSet::startup_recording_options() != NULL)) { |
172 warning("JFR will be disabled during CDS dumping"); |
172 warning("JFR will be disabled during CDS dumping"); |
173 teardown_startup_support(); |
173 teardown_startup_support(); |
174 return true; |
174 return true; |
175 } |
175 } |
176 return false; |
176 return false; |