< prev index next >

src/hotspot/share/classfile/klassFactory.cpp

Print this page

        

@@ -216,11 +216,11 @@
   }
 
   JFR_ONLY(ON_KLASS_CREATION(result, parser, THREAD);)
 
 #if INCLUDE_CDS
-  if (DumpSharedSpaces || DynamicDumpSharedSpaces) {
+  if (Arguments::is_dumping_archive()) {
     ClassLoader::record_result(result, stream, THREAD);
   }
 #endif // INCLUDE_CDS
 
   return result;
< prev index next >