1.1 --- a/src/share/vm/utilities/hashtable.hpp Fri May 17 17:52:07 2013 -0700 1.2 +++ b/src/share/vm/utilities/hashtable.hpp Sat May 18 20:41:01 2013 -0700 1.3 @@ -282,6 +282,19 @@ 1.4 static bool use_alternate_hashcode() { return _seed != 0; } 1.5 static jint seed() { return _seed; } 1.6 1.7 + static int literal_size(Symbol *symbol); 1.8 + static int literal_size(oop oop); 1.9 + 1.10 + // The following two are currently not used, but are needed anyway because some 1.11 + // C++ compilers (MacOS and Solaris) force the instantiation of 1.12 + // Hashtable<ConstantPool*, mtClass>::dump_table() even though we never call this function 1.13 + // in the VM code. 1.14 + static int literal_size(ConstantPool *cp) {Unimplemented(); return 0;} 1.15 + static int literal_size(Klass *k) {Unimplemented(); return 0;} 1.16 + 1.17 +public: 1.18 + void dump_table(outputStream* st, const char *table_name); 1.19 + 1.20 private: 1.21 static jint _seed; 1.22 };