diff -r 8eeacdc76bf2 -r 75aa3e39d02c hotspot/src/share/vm/utilities/hashtable.cpp --- a/hotspot/src/share/vm/utilities/hashtable.cpp Wed Jul 05 11:03:19 2017 -0700 +++ b/hotspot/src/share/vm/utilities/hashtable.cpp Thu Jul 06 01:50:26 2017 +0200 @@ -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; }