7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table

Cannot delete _buckets and HashtableEntries in shared space (CDS)

Reviewed-by: acorn, kvn, dlong, dcubed, kamg
This commit is contained in:
Coleen Phillimore 2012-06-25 21:33:35 -04:00
parent e742ae2157
commit dc5fe663cb
4 changed files with 128 additions and 56 deletions

View file

@ -217,12 +217,7 @@ protected:
}
// Free the buckets in this hashtable
void free_buckets() {
if (NULL != _buckets) {
FREE_C_HEAP_ARRAY(HashtableBucket, _buckets);
_buckets = NULL;
}
}
void free_buckets();
public:
int table_size() { return _table_size; }