8292680: Convert Dictionary to ConcurrentHashTable

Reviewed-by: rehn, hseigel
This commit is contained in:
Coleen Phillimore 2022-08-25 19:02:52 +00:00
parent 2fe0ce0148
commit 4f50316a1a
30 changed files with 436 additions and 356 deletions

View file

@ -1095,9 +1095,9 @@ JVM_ENTRY(jclass, JVM_FindLoadedClass(JNIEnv *env, jobject loader, jstring name)
// The Java level wrapper will perform the necessary security check allowing
// us to pass the NULL as the initiating class loader.
Handle h_loader(THREAD, JNIHandles::resolve(loader));
Klass* k = SystemDictionary::find_instance_or_array_klass(klass_name,
h_loader,
Handle());
Klass* k = SystemDictionary::find_instance_or_array_klass(THREAD, klass_name,
h_loader,
Handle());
#if INCLUDE_CDS
if (k == NULL) {
// If the class is not already loaded, try to see if it's in the shared