src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 54807 33fe50b6d707
parent 54781 f3f07c76d3d1
child 55217 bb3359bcf534
child 58678 9cf78a70fa4f
--- 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