src/hotspot/share/jfr/recorder/jfrRecorder.cpp
changeset 54927 1512d88b24c6
parent 53303 65a1d49d1718
child 54983 81becad91321
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
   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 && (JfrOptionSet::startup_recording_options() != NULL)) {
   171   if ((DumpSharedSpaces || DynamicDumpSharedSpaces) && (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;