--- old/src/hotspot/share/classfile/classLoaderData.cpp 2020-08-18 21:51:54.242176281 -0700 +++ new/src/hotspot/share/classfile/classLoaderData.cpp 2020-08-18 21:51:54.126171914 -0700 @@ -968,3 +968,14 @@ } return false; } + +Klass* ClassLoaderData::find_class(Symbol* name) { + Dictionary* dict = dictionary(); + unsigned hash = dict->compute_hash(name); + int index = dict->hash_to_index(hash); + { + // find_class assert on SystemDictionary_lock or safepoint + MutexLocker lock(SystemDictionary_lock); + return dict->find_class(index, hash, name); + } +}