equal
deleted
inserted
replaced
35 #include "memory/filemap.hpp" |
35 #include "memory/filemap.hpp" |
36 #include "memory/resourceArea.hpp" |
36 #include "memory/resourceArea.hpp" |
37 #include "oops/oop.inline.hpp" |
37 #include "oops/oop.inline.hpp" |
38 #include "runtime/atomic.hpp" |
38 #include "runtime/atomic.hpp" |
39 #include "runtime/mutexLocker.hpp" |
39 #include "runtime/mutexLocker.hpp" |
|
40 #include "services/diagnosticCommand.hpp" |
40 #include "utilities/hashtable.inline.hpp" |
41 #include "utilities/hashtable.inline.hpp" |
41 #include "utilities/macros.hpp" |
42 #include "utilities/macros.hpp" |
42 #if INCLUDE_ALL_GCS |
43 #if INCLUDE_ALL_GCS |
43 #include "gc/g1/g1CollectedHeap.hpp" |
44 #include "gc/g1/g1CollectedHeap.hpp" |
44 #include "gc/g1/g1SATBCardTableModRefBS.hpp" |
45 #include "gc/g1/g1SATBCardTableModRefBS.hpp" |
437 } |
438 } |
438 } |
439 } |
439 |
440 |
440 void StringTable::dump(outputStream* st, bool verbose) { |
441 void StringTable::dump(outputStream* st, bool verbose) { |
441 if (!verbose) { |
442 if (!verbose) { |
442 the_table()->dump_table(st, "StringTable"); |
443 the_table()->print_table_statistics(st, "StringTable"); |
443 } else { |
444 } else { |
444 Thread* THREAD = Thread::current(); |
445 Thread* THREAD = Thread::current(); |
445 st->print_cr("VERSION: 1.1"); |
446 st->print_cr("VERSION: 1.1"); |
446 for (int i = 0; i < the_table()->table_size(); ++i) { |
447 for (int i = 0; i < the_table()->table_size(); ++i) { |
447 HashtableEntry<oop, mtSymbol>* p = the_table()->bucket(i); |
448 HashtableEntry<oop, mtSymbol>* p = the_table()->bucket(i); |