mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8292680: Convert Dictionary to ConcurrentHashTable
Reviewed-by: rehn, hseigel
This commit is contained in:
parent
2fe0ce0148
commit
4f50316a1a
30 changed files with 436 additions and 356 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue