diff src/share/vm/utilities/hashtable.hpp @ 6172:246d977b51f2

7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table Summary: Cannot delete _buckets and HashtableEntries in shared space (CDS) Reviewed-by: acorn, kvn, dlong, dcubed, kamg
author coleenp
date Mon, 25 Jun 2012 21:33:35 -0400
parents e9140bf80b4a
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/utilities/hashtable.hpp	Fri Jun 22 15:39:16 2012 -0700
+++ b/src/share/vm/utilities/hashtable.hpp	Mon Jun 25 21:33:35 2012 -0400
@@ -217,12 +217,7 @@
   }
 
   // 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; }