--- a/hotspot/src/share/vm/memory/metaspaceShared.cpp Wed Aug 02 08:19:09 2017 -0400
+++ b/hotspot/src/share/vm/memory/metaspaceShared.cpp Wed Aug 02 10:52:50 2017 -0400
@@ -30,6 +30,7 @@
#include "classfile/placeholders.hpp"
#include "classfile/sharedClassUtil.hpp"
#include "classfile/symbolTable.hpp"
+#include "classfile/stringTable.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/systemDictionaryShared.hpp"
#include "code/codeCache.hpp"
@@ -1328,7 +1329,7 @@
if (PrintSharedArchiveAndExit) {
if (PrintSharedDictionary) {
tty->print_cr("\nShared classes:\n");
- SystemDictionary::print_shared(false);
+ SystemDictionary::print_shared(tty);
}
if (_archive_loading_failed) {
tty->print_cr("archive is invalid");