--- old/src/share/vm/utilities/hashtable.cpp 2017-07-03 08:29:24.000000000 -0700 +++ new/src/share/vm/utilities/hashtable.cpp 2017-07-03 08:29:24.000000000 -0700 @@ -100,8 +100,6 @@ return false; } -template juint RehashableHashtable::_seed = 0; - // Create a new table and using alternate hash code, populate the new table // with the existing elements. This can be used to change the hash code // and could in the future change the size of the table. @@ -207,7 +205,7 @@ if (*top + entry_size() > end) { report_out_of_shared_space(SharedMiscData); } - *p = (BasicHashtableEntry*)memcpy(*top, *p, entry_size()); + *p = (BasicHashtableEntry*)memcpy(*top, (void*)*p, entry_size()); *top += entry_size(); } } @@ -287,7 +285,7 @@ if (*top + len > end) { report_out_of_shared_space(SharedMiscData); } - _buckets = (HashtableBucket*)memcpy(*top, _buckets, len); + _buckets = (HashtableBucket*)memcpy(*top, (void*)_buckets, len); *top += len; }