--- a/hotspot/src/share/vm/utilities/hashtable.hpp Sat Jul 22 15:54:27 2017 -0400
+++ b/hotspot/src/share/vm/utilities/hashtable.hpp Wed Aug 02 18:06:38 2017 -0700
@@ -148,8 +148,10 @@
HashtableBucket<F>* buckets, int number_of_entries);
// Sharing support.
- void copy_buckets(char** top, char* end);
- void copy_table(char** top, char* end);
+ size_t count_bytes_for_buckets();
+ size_t count_bytes_for_table();
+ void copy_buckets(char* top, char* end);
+ void copy_table(char* top, char* end);
// Bucket handling
int hash_to_index(unsigned int full_hash) const {