--- a/src/hotspot/share/gc/shared/collectedHeap.hpp Thu May 09 14:28:30 2019 +0200
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Fri May 10 09:05:29 2019 -0400
@@ -449,9 +449,8 @@
// Print heap information on the given outputStream.
virtual void print_on(outputStream* st) const = 0;
// The default behavior is to call print_on() on tty.
- virtual void print() const {
- print_on(tty);
- }
+ virtual void print() const;
+
// Print more detailed heap information on the given
// outputStream. The default behavior is to call print_on(). It is
// up to each subclass to override it and add any additional output