equal
deleted
inserted
replaced
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); |