hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 17301 ee3bf4f84c85
parent 16680 960505df90e7
child 17373 7d8bb2a8787e
equal deleted inserted replaced
17300:dcff0b4a77f7 17301:ee3bf4f84c85
   828             // so nothing to clean up.
   828             // so nothing to clean up.
   829           } else {
   829           } else {
   830             Klass *kk;
   830             Klass *kk;
   831             {
   831             {
   832               MutexLocker mu(SystemDictionary_lock, THREAD);
   832               MutexLocker mu(SystemDictionary_lock, THREAD);
   833               kk = find_class(name, ik->class_loader_data());
   833               kk = find_class(d_index, d_hash, name, ik->class_loader_data());
   834             }
   834             }
   835             if (kk != NULL) {
   835             if (kk != NULL) {
   836               // No clean up is needed if the shared class has been entered
   836               // No clean up is needed if the shared class has been entered
   837               // into system dictionary, as load_shared_class() won't be called
   837               // into system dictionary, as load_shared_class() won't be called
   838               // again.
   838               // again.