8258048: Placeholder hash code is the same as Dictionary hash code

Reviewed-by: dholmes, hseigel, lfoltan
This commit is contained in:
Coleen Phillimore 2020-12-16 19:17:58 +00:00
parent ab5d581ba8
commit c4632647ae
8 changed files with 102 additions and 128 deletions

View file

@ -1049,7 +1049,7 @@ InstanceKlass* SystemDictionaryShared::find_or_load_shared_class(
{
MutexLocker mu(THREAD, SystemDictionary_lock);
InstanceKlass* check = find_class(d_hash, name, dictionary);
InstanceKlass* check = dictionary->find_class(d_hash, name);
if (check != NULL) {
return check;
}