src/share/vm/classfile/symbolTable.hpp

changeset 3875
246d977b51f2
parent 3865
e9140bf80b4a
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/classfile/symbolTable.hpp	Fri Jun 22 15:39:16 2012 -0700
     1.2 +++ b/src/share/vm/classfile/symbolTable.hpp	Mon Jun 25 21:33:35 2012 -0400
     1.3 @@ -156,7 +156,7 @@
     1.4      initialize_symbols();
     1.5    }
     1.6  
     1.7 -  static unsigned int hash_symbol(const char* s, int len, unsigned int hashValue = 0);
     1.8 +  static unsigned int hash_symbol(const char* s, int len);
     1.9  
    1.10    static Symbol* lookup(const char* name, int len, TRAPS);
    1.11    // lookup only, won't add. Also calculate hash.
    1.12 @@ -294,7 +294,7 @@
    1.13    // Hashing algorithm, used as the hash value used by the
    1.14    //     StringTable for bucket selection and comparison (stored in the
    1.15    //     HashtableEntry structures).  This is used in the String.intern() method.
    1.16 -  static unsigned int hash_string(const jchar* s, int len, unsigned int hashValue = 0);
    1.17 +  static unsigned int hash_string(const jchar* s, int len);
    1.18  
    1.19    // Internal test.
    1.20    static void test_alt_hash() PRODUCT_RETURN;

mercurial