src/share/vm/utilities/hashtable.hpp

changeset 3875
246d977b51f2
parent 3865
e9140bf80b4a
child 3900
d2a62e0f25eb
equal deleted inserted replaced
3873:d8a240abb23a 3875:246d977b51f2
215 _end_block = src->_end_block; 215 _end_block = src->_end_block;
216 src->_end_block = NULL; 216 src->_end_block = NULL;
217 } 217 }
218 218
219 // Free the buckets in this hashtable 219 // Free the buckets in this hashtable
220 void free_buckets() { 220 void free_buckets();
221 if (NULL != _buckets) {
222 FREE_C_HEAP_ARRAY(HashtableBucket, _buckets);
223 _buckets = NULL;
224 }
225 }
226 221
227 public: 222 public:
228 int table_size() { return _table_size; } 223 int table_size() { return _table_size; }
229 void set_entry(int index, BasicHashtableEntry* entry); 224 void set_entry(int index, BasicHashtableEntry* entry);
230 225

mercurial