hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 26419 25abc4a3285c
parent 26181 b8d61f186627
child 26583 2ef7b85da46b
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri Aug 29 11:35:03 2014 -0700
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Tue Sep 02 09:51:24 2014 -0700
@@ -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