< prev index next >
src/hotspot/share/classfile/symbolTable.cpp
Print this page
*** 565,575 ****
void SymbolTable::dump(outputStream* st, bool verbose) {
if (!verbose) {
the_table()->print_table_statistics(st, "SymbolTable");
} else {
! st->print_cr("VERSION: 1.0");
for (int i = 0; i < the_table()->table_size(); ++i) {
HashtableEntry<Symbol*, mtSymbol>* p = the_table()->bucket(i);
for ( ; p != NULL; p = p->next()) {
Symbol* s = (Symbol*)(p->literal());
const char* utf8_string = (const char*)s->bytes();
--- 565,575 ----
void SymbolTable::dump(outputStream* st, bool verbose) {
if (!verbose) {
the_table()->print_table_statistics(st, "SymbolTable");
} else {
! st->print_cr(HASHTABLE_VERSION);
for (int i = 0; i < the_table()->table_size(); ++i) {
HashtableEntry<Symbol*, mtSymbol>* p = the_table()->bucket(i);
for ( ; p != NULL; p = p->next()) {
Symbol* s = (Symbol*)(p->literal());
const char* utf8_string = (const char*)s->bytes();
< prev index next >