diff src/share/vm/classfile/symbolTable.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/classfile/symbolTable.hpp	Fri Jun 22 15:39:16 2012 -0700
+++ b/src/share/vm/classfile/symbolTable.hpp	Mon Jun 25 21:33:35 2012 -0400
@@ -156,7 +156,7 @@
     initialize_symbols();
   }
 
-  static unsigned int hash_symbol(const char* s, int len, unsigned int hashValue = 0);
+  static unsigned int hash_symbol(const char* s, int len);
 
   static Symbol* lookup(const char* name, int len, TRAPS);
   // lookup only, won't add. Also calculate hash.
@@ -294,7 +294,7 @@
   // Hashing algorithm, used as the hash value used by the
   //     StringTable for bucket selection and comparison (stored in the
   //     HashtableEntry structures).  This is used in the String.intern() method.
-  static unsigned int hash_string(const jchar* s, int len, unsigned int hashValue = 0);
+  static unsigned int hash_string(const jchar* s, int len);
 
   // Internal test.
   static void test_alt_hash() PRODUCT_RETURN;