< prev index next >
src/hotspot/share/classfile/dictionary.cpp
Print this page
@@ -328,17 +328,17 @@
}
}
}
// All classes, and their class loaders, including initiating class loaders
-void Dictionary::all_entries_do(void f(InstanceKlass*, ClassLoaderData*)) {
+void Dictionary::all_entries_do(KlassClosure* closure) {
for (int index = 0; index < table_size(); index++) {
for (DictionaryEntry* probe = bucket(index);
probe != NULL;
probe = probe->next()) {
InstanceKlass* k = probe->instance_klass();
- f(k, loader_data());
+ closure->do_klass(k);
}
}
}
// Used to scan and relocate the classes during CDS archive dump.
< prev index next >