src/hotspot/share/classfile/dictionary.cpp
changeset 52631 3009ca99de32
parent 52514 f4e3900c8d08
child 52846 6ed72482de52
equal deleted inserted replaced
52630:68d450652337 52631:3009ca99de32
    65       free_entry(probe);
    65       free_entry(probe);
    66     }
    66     }
    67   }
    67   }
    68   assert(number_of_entries() == 0, "should have removed all entries");
    68   assert(number_of_entries() == 0, "should have removed all entries");
    69   assert(new_entry_free_list() == NULL, "entry present on Dictionary's free list");
    69   assert(new_entry_free_list() == NULL, "entry present on Dictionary's free list");
    70   free_buckets();
       
    71 }
    70 }
    72 
    71 
    73 DictionaryEntry* Dictionary::new_entry(unsigned int hash, InstanceKlass* klass) {
    72 DictionaryEntry* Dictionary::new_entry(unsigned int hash, InstanceKlass* klass) {
    74   DictionaryEntry* entry = (DictionaryEntry*)Hashtable<InstanceKlass*, mtClass>::allocate_new_entry(hash, klass);
    73   DictionaryEntry* entry = (DictionaryEntry*)Hashtable<InstanceKlass*, mtClass>::allocate_new_entry(hash, klass);
    75   entry->set_pd_set(NULL);
    74   entry->set_pd_set(NULL);