hotspot/src/share/vm/services/classLoadingService.cpp
changeset 46335 da075aa9241f
parent 46329 53ccc37bda19
child 46766 1f26ac73b909
--- a/hotspot/src/share/vm/services/classLoadingService.cpp	Wed Dec 14 09:14:16 2016 +0100
+++ b/hotspot/src/share/vm/services/classLoadingService.cpp	Fri Mar 17 08:19:05 2017 -0700
@@ -197,26 +197,4 @@
   LogConfiguration::configure_stdout(level, false, LOG_TAGS(class, unload));
 }
 
-GrowableArray<Klass*>* LoadedClassesEnumerator::_loaded_classes = NULL;
-
-LoadedClassesEnumerator::LoadedClassesEnumerator() {
-
-  int init_size = ClassLoadingService::loaded_class_count();
-  _klass_array = new GrowableArray<Klass*>(init_size);
-
-  // For consistency of the loaded classes, grab the SystemDictionary lock
-  MutexLocker sd_mutex(SystemDictionary_lock);
-
-  // Set _loaded_classes and begin enumerating all classes.
-  // Only one thread will do the enumeration at a time.
-  // These static variables are needed and they are used by the static method
-  // add_loaded_class called from classes_do().
-  _loaded_classes = _klass_array;
-
-  SystemDictionary::classes_do(&add_loaded_class);
-
-  // FIXME: Exclude array klasses for now
-  // Universe::basic_type_classes_do(&add_loaded_class);
-}
-
 #endif // INCLUDE_MANAGEMENT