mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8184994: Add Dictionary size logging and jcmd
Added dcmd for printing system dictionary like the stringtable and symboltable and making print functions go to outputstream rather than tty Reviewed-by: shade, hseigel
This commit is contained in:
parent
366e6ac796
commit
17f23d1881
30 changed files with 349 additions and 254 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "oops/oop.inline.hpp"
|
||||
#include "runtime/atomic.hpp"
|
||||
#include "runtime/mutexLocker.hpp"
|
||||
#include "services/diagnosticCommand.hpp"
|
||||
#include "utilities/hashtable.inline.hpp"
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
@ -550,7 +551,7 @@ void SymbolTable::verify() {
|
|||
|
||||
void SymbolTable::dump(outputStream* st, bool verbose) {
|
||||
if (!verbose) {
|
||||
the_table()->dump_table(st, "SymbolTable");
|
||||
the_table()->print_table_statistics(st, "SymbolTable");
|
||||
} else {
|
||||
st->print_cr("VERSION: 1.0");
|
||||
for (int i = 0; i < the_table()->table_size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue