< prev index next >

src/share/vm/classfile/dictionary.cpp

Print this page

        

*** 329,352 **** // Only the protection domain oops contain references into the heap. Iterate // over all of them. _pd_cache_table->oops_do(f); } - void Dictionary::methods_do(void f(Method*)) { - for (int index = 0; index < table_size(); index++) { - for (DictionaryEntry* probe = bucket(index); - probe != NULL; - probe = probe->next()) { - Klass* k = probe->klass(); - if (probe->loader_data() == k->class_loader_data()) { - // only take klass is we have the entry with the defining class loader - InstanceKlass::cast(k)->methods_do(f); - } - } - } - } - void Dictionary::unlink(BoolObjectClosure* is_alive) { // Only the protection domain cache table may contain references to the heap // that need to be unlinked. _pd_cache_table->unlink(is_alive); } --- 329,338 ----
< prev index next >