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

@ -971,7 +971,7 @@ bool Method::is_klass_loaded_by_klass_index(int klass_index) const {
Symbol* klass_name = constants()->klass_name_at(klass_index);
Handle loader(thread, method_holder()->class_loader());
Handle prot (thread, method_holder()->protection_domain());
return SystemDictionary::find_instance_klass(klass_name, loader, prot) != NULL;
return SystemDictionary::find_instance_klass(thread, klass_name, loader, prot) != NULL;
} else {
return true;
}