< prev index next >

src/hotspot/share/classfile/stringTable.cpp

Print this page

        

*** 442,452 **** void StringTable::dump(outputStream* st, bool verbose) { if (!verbose) { the_table()->print_table_statistics(st, "StringTable"); } else { Thread* THREAD = Thread::current(); ! st->print_cr("VERSION: 1.1"); for (int i = 0; i < the_table()->table_size(); ++i) { HashtableEntry<oop, mtSymbol>* p = the_table()->bucket(i); for ( ; p != NULL; p = p->next()) { oop s = string_object_no_keepalive(p); typeArrayOop value = java_lang_String::value_no_keepalive(s); --- 442,452 ---- void StringTable::dump(outputStream* st, bool verbose) { if (!verbose) { the_table()->print_table_statistics(st, "StringTable"); } else { Thread* THREAD = Thread::current(); ! st->print_cr(HASHTABLE_VERSION); for (int i = 0; i < the_table()->table_size(); ++i) { HashtableEntry<oop, mtSymbol>* p = the_table()->bucket(i); for ( ; p != NULL; p = p->next()) { oop s = string_object_no_keepalive(p); typeArrayOop value = java_lang_String::value_no_keepalive(s);
< prev index next >