--- old/src/hotspot/share/classfile/systemDictionary.cpp 2018-05-31 22:44:56.915745583 -0400 +++ new/src/hotspot/share/classfile/systemDictionary.cpp 2018-05-31 22:44:55.399657784 -0400 @@ -110,9 +110,6 @@ bool SystemDictionary::_has_checkPackageAccess = false; -// lazily initialized klass variables -InstanceKlass* volatile SystemDictionary::_abstract_ownable_synchronizer_klass = NULL; - // Default ProtectionDomainCacheSize value const int defaultProtectionDomainCacheSize = 1009; @@ -1897,22 +1894,6 @@ } // ---------------------------------------------------------------------------- -// Lazily load klasses - -void SystemDictionary::load_abstract_ownable_synchronizer_klass(TRAPS) { - // if multiple threads calling this function, only one thread will load - // the class. The other threads will find the loaded version once the - // class is loaded. - Klass* aos = _abstract_ownable_synchronizer_klass; - if (aos == NULL) { - Klass* k = resolve_or_fail(vmSymbols::java_util_concurrent_locks_AbstractOwnableSynchronizer(), true, CHECK); - // Force a fence to prevent any read before the write completes - OrderAccess::fence(); - _abstract_ownable_synchronizer_klass = InstanceKlass::cast(k); - } -} - -// ---------------------------------------------------------------------------- // Initialization void SystemDictionary::initialize(TRAPS) {