comparison agent/src/share/classes/sun/jvm/hotspot/tools/ObjectHistogram.java @ 11054:38ea2efa32a7

8010278: SA: provide mechanism for using an alternative SA debugger back-end. Reviewed-by: sla, dsamersoff
author kevinw
date Wed, 26 Jun 2013 00:01:20 +0100
parents c18cbe5936b8
children 7fe6ef09d242
comparison
equal deleted inserted replaced
11035:01e10b366055 11054:38ea2efa32a7
31 31
32 /** A sample tool which uses the Serviceability Agent's APIs to obtain 32 /** A sample tool which uses the Serviceability Agent's APIs to obtain
33 an object histogram from a remote or crashed VM. */ 33 an object histogram from a remote or crashed VM. */
34 public class ObjectHistogram extends Tool { 34 public class ObjectHistogram extends Tool {
35 35
36 public ObjectHistogram() {
37 super();
38 }
39
40 public ObjectHistogram(JVMDebugger d) {
41 super(d);
42 }
43
36 public void run() { 44 public void run() {
37 run(System.out, System.err); 45 run(System.out, System.err);
38 } 46 }
39 47
40 public void run(PrintStream out, PrintStream err) { 48 public void run(PrintStream out, PrintStream err) {