< prev index next >

src/share/vm/utilities/hashtable.hpp

Print this page

@@ -146,12 +146,14 @@
   BasicHashtable(int table_size, int entry_size);
   BasicHashtable(int table_size, int entry_size,
                  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 {
     int h = full_hash % _table_size;
     assert(h >= 0 && h < _table_size, "Illegal hash value");
< prev index next >