hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ObjectHistogramElement.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   108   }
   108   }
   109 
   109 
   110   public static void titleOn(PrintStream tty) {
   110   public static void titleOn(PrintStream tty) {
   111     tty.println("Object Histogram:");
   111     tty.println("Object Histogram:");
   112     tty.println();
   112     tty.println();
   113     tty.println("Size" + "\t" + "Count" + "\t" + "Class description");
   113     tty.println("num " + "\t" + "  #instances" + "\t" + "#bytes" + "\t" + "Class description");
   114     tty.println("-------------------------------------------------------");
   114     tty.println("--------------------------------------------------------------------------");
   115   }
   115   }
   116 
   116 
   117   public void printOn(PrintStream tty) {
   117   public void printOn(PrintStream tty) {
   118     tty.print(size + "\t" + count + "\t");
   118     tty.print(count + "\t" + size + "\t");
   119     tty.print(getDescription());
   119     tty.print(getDescription());
   120     tty.println();
   120     tty.println();
   121   }
   121   }
   122 }
   122 }