hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 26583 2ef7b85da46b
parent 26580 8cca7fbe77b8
parent 26419 25abc4a3285c
child 26585 2048b8d90c91
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Mon Sep 08 16:05:48 2014 +0200
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Tue Sep 09 16:14:40 2014 +0200
@@ -1243,7 +1243,6 @@
       tty->print_cr("]");
     }
 
-#if INCLUDE_CDS
     if (DumpLoadedClassList != NULL && classlist_file->is_open()) {
       // Only dump the classes that can be stored into CDS archive
       if (SystemDictionaryShared::is_sharing_possible(loader_data)) {
@@ -1252,7 +1251,6 @@
         classlist_file->flush();
       }
     }
-#endif
 
     // notify a class loaded from shared object
     ClassLoadingService::notify_class_loaded(InstanceKlass::cast(ik()),
@@ -1260,7 +1258,7 @@
   }
   return ik;
 }
-#endif
+#endif // INCLUDE_CDS
 
 instanceKlassHandle SystemDictionary::load_instance_class(Symbol* class_name, Handle class_loader, TRAPS) {
   instanceKlassHandle nh = instanceKlassHandle(); // null Handle