src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 54807 33fe50b6d707
parent 54781 f3f07c76d3d1
child 55217 bb3359bcf534
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54786:ebf733a324d4 54807:33fe50b6d707
   447   MetaspaceSummary create_metaspace_summary();
   447   MetaspaceSummary create_metaspace_summary();
   448 
   448 
   449   // Print heap information on the given outputStream.
   449   // Print heap information on the given outputStream.
   450   virtual void print_on(outputStream* st) const = 0;
   450   virtual void print_on(outputStream* st) const = 0;
   451   // The default behavior is to call print_on() on tty.
   451   // The default behavior is to call print_on() on tty.
   452   virtual void print() const {
   452   virtual void print() const;
   453     print_on(tty);
   453 
   454   }
       
   455   // Print more detailed heap information on the given
   454   // Print more detailed heap information on the given
   456   // outputStream. The default behavior is to call print_on(). It is
   455   // outputStream. The default behavior is to call print_on(). It is
   457   // up to each subclass to override it and add any additional output
   456   // up to each subclass to override it and add any additional output
   458   // it needs.
   457   // it needs.
   459   virtual void print_extended_on(outputStream* st) const {
   458   virtual void print_extended_on(outputStream* st) const {