--- old/src/share/vm/utilities/hashtable.hpp 2017-07-03 08:29:25.000000000 -0700 +++ new/src/share/vm/utilities/hashtable.hpp 2017-07-03 08:29:25.000000000 -0700 @@ -301,8 +301,8 @@ // Function to move these elements into the new table. void move_to(RehashableHashtable* new_table); - static bool use_alternate_hashcode() { return _seed != 0; } - static juint seed() { return _seed; } + static bool use_alternate_hashcode(); + static juint seed(); static int literal_size(Symbol *symbol); static int literal_size(oop oop); @@ -320,6 +320,9 @@ static juint _seed; }; +template juint RehashableHashtable::_seed = 0; +template juint RehashableHashtable::seed() { return _seed; }; +template bool RehashableHashtable::use_alternate_hashcode() { return _seed != 0; }; // Versions of hashtable where two handles are used to compute the index.