src/hotspot/share/classfile/classLoaderData.cpp
changeset 51530 1f0b605bdc28
parent 51523 73523d329966
child 51543 5303c6c05db6
equal deleted inserted replaced
51529:a716460217ed 51530:1f0b605bdc28
  1252     Handle holder(thread, cld->holder_phantom());
  1252     Handle holder(thread, cld->holder_phantom());
  1253     cld->dictionary()->classes_do(f, CHECK);
  1253     cld->dictionary()->classes_do(f, CHECK);
  1254   }
  1254   }
  1255 }
  1255 }
  1256 
  1256 
  1257 // Walks all entries in the dictionary including entries initiated by this class loader.
       
  1258 void ClassLoaderDataGraph::dictionary_all_entries_do(void f(InstanceKlass*, ClassLoaderData*)) {
       
  1259   Thread* thread = Thread::current();
       
  1260   FOR_ALL_DICTIONARY(cld) {
       
  1261     Handle holder(thread, cld->holder_phantom());
       
  1262     cld->dictionary()->all_entries_do(f);
       
  1263   }
       
  1264 }
       
  1265 
       
  1266 void ClassLoaderDataGraph::verify_dictionary() {
  1257 void ClassLoaderDataGraph::verify_dictionary() {
  1267   FOR_ALL_DICTIONARY(cld) {
  1258   FOR_ALL_DICTIONARY(cld) {
  1268     cld->dictionary()->verify();
  1259     cld->dictionary()->verify();
  1269   }
  1260   }
  1270 }
  1261 }