diff -r d5a7407108b4 -r 24ec8a039c90 hotspot/src/share/vm/classfile/systemDictionary.hpp --- a/hotspot/src/share/vm/classfile/systemDictionary.hpp Wed Aug 02 08:19:09 2017 -0400 +++ b/hotspot/src/share/vm/classfile/systemDictionary.hpp Wed Aug 02 10:52:50 2017 -0400 @@ -388,8 +388,10 @@ static void set_shared_dictionary(HashtableBucket* t, int length, int number_of_entries); // Printing - static void print(bool details = true); - static void print_shared(bool details = true); + static void print() { return print_on(tty); } + static void print_on(outputStream* st); + static void print_shared(outputStream* st); + static void dump(outputStream* st, bool verbose); // Monotonically increasing counter which grows as classes are // loaded or modifications such as hot-swapping or setting/removing