hotspot/src/share/vm/classfile/symbolTable.cpp
changeset 46742 24ec8a039c90
parent 45114 45644c5f6b8e
child 46746 ea379ebb9447
--- a/hotspot/src/share/vm/classfile/symbolTable.cpp	Wed Aug 02 08:19:09 2017 -0400
+++ b/hotspot/src/share/vm/classfile/symbolTable.cpp	Wed Aug 02 10:52:50 2017 -0400
@@ -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::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) {