1.1 --- a/src/share/vm/classfile/symbolTable.hpp Tue Jul 03 17:35:00 2012 -0700 1.2 +++ b/src/share/vm/classfile/symbolTable.hpp Wed Jul 04 15:55:45 2012 -0400 1.3 @@ -81,7 +81,6 @@ 1.4 1.5 // Set if one bucket is out of balance due to hash algorithm deficiency 1.6 static bool _needs_rehashing; 1.7 - static jint _seed; 1.8 1.9 // For statistics 1.10 static int symbols_removed; 1.11 @@ -124,11 +123,6 @@ 1.12 static Arena* arena() { return _arena; } // called for statistics 1.13 1.14 static void initialize_symbols(int arena_alloc_size = 0); 1.15 - 1.16 - static bool use_alternate_hashcode() { return _seed != 0; } 1.17 - static jint seed() { return _seed; } 1.18 - 1.19 - unsigned int new_hash(Symbol* sym); 1.20 public: 1.21 enum { 1.22 symbol_alloc_batch_size = 8, 1.23 @@ -247,7 +241,6 @@ 1.24 1.25 // Set if one bucket is out of balance due to hash algorithm deficiency 1.26 static bool _needs_rehashing; 1.27 - static jint _seed; 1.28 1.29 static oop intern(Handle string_or_null, jchar* chars, int length, TRAPS); 1.30 oop basic_add(int index, Handle string_or_null, jchar* name, int len, 1.31 @@ -261,11 +254,6 @@ 1.32 StringTable(HashtableBucket<mtSymbol>* t, int number_of_entries) 1.33 : Hashtable<oop, mtSymbol>((int)StringTableSize, sizeof (HashtableEntry<oop, mtSymbol>), t, 1.34 number_of_entries) {} 1.35 - 1.36 - static bool use_alternate_hashcode() { return _seed != 0; } 1.37 - static jint seed() { return _seed; } 1.38 - 1.39 - unsigned int new_hash(oop s); 1.40 public: 1.41 // The string table 1.42 static StringTable* the_table() { return _the_table; }