--- old/src/share/vm/services/classLoadingService.cpp 2017-03-16 18:32:23.530482465 -0700 +++ new/src/share/vm/services/classLoadingService.cpp 2017-03-16 18:32:23.414476692 -0700 @@ -197,26 +197,4 @@ LogConfiguration::configure_stdout(level, false, LOG_TAGS(class, unload)); } -GrowableArray* LoadedClassesEnumerator::_loaded_classes = NULL; - -LoadedClassesEnumerator::LoadedClassesEnumerator() { - - int init_size = ClassLoadingService::loaded_class_count(); - _klass_array = new GrowableArray(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