1.1 --- a/src/share/vm/classfile/symbolTable.hpp Tue Sep 17 20:20:03 2013 +0200 1.2 +++ b/src/share/vm/classfile/symbolTable.hpp Wed Sep 18 07:02:10 2013 -0700 1.3 @@ -311,6 +311,26 @@ 1.4 static void verify(); 1.5 static void dump(outputStream* st); 1.6 1.7 + enum VerifyMesgModes { 1.8 + _verify_quietly = 0, 1.9 + _verify_with_mesgs = 1 1.10 + }; 1.11 + 1.12 + enum VerifyRetTypes { 1.13 + _verify_pass = 0, 1.14 + _verify_fail_continue = 1, 1.15 + _verify_fail_done = 2 1.16 + }; 1.17 + 1.18 + static VerifyRetTypes compare_entries(int bkt1, int e_cnt1, 1.19 + HashtableEntry<oop, mtSymbol>* e_ptr1, 1.20 + int bkt2, int e_cnt2, 1.21 + HashtableEntry<oop, mtSymbol>* e_ptr2); 1.22 + static VerifyRetTypes verify_entry(int bkt, int e_cnt, 1.23 + HashtableEntry<oop, mtSymbol>* e_ptr, 1.24 + VerifyMesgModes mesg_mode); 1.25 + static int verify_and_compare_entries(); 1.26 + 1.27 // Sharing 1.28 static void copy_buckets(char** top, char*end) { 1.29 the_table()->Hashtable<oop, mtSymbol>::copy_buckets(top, end);