comparison agent/src/share/classes/sun/jvm/hotspot/oops/ObjectHistogramElement.java @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
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 }