--- 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) {