APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.tools

public Class ObjectHistogram

extends Tool
Class Inheritance
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.oops.*, sun.jvm.hotspot.runtime.*, java.io.PrintStream

A sample tool which uses the Serviceability Agent's APIs to obtain an object histogram from a remote or crashed VM.

Field Summary

Inherited from sun.jvm.hotspot.tools.Tool:
DEBUGEE_COREDEBUGEE_PIDDEBUGEE_REMOTE

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
public static void
main(String[] args)

public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

public void
Inherited from sun.jvm.hotspot.tools.Tool:
executegetAgentgetDebugeeTypeneedsJavaPrefixprintFlagsUsageprintUsagesetAgentsetDebugeeTypestartstopusage

Constructor Detail

ObjectHistogramback to summary
public ObjectHistogram()
ObjectHistogramback to summary
public ObjectHistogram(JVMDebugger d)

Method Detail

getNameback to summary
public String getName()

Overrides sun.jvm.hotspot.tools.Tool.getName.

Annotations
@Override
mainback to summary
public static void main(String[] args)
runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

runback to summary
public void run(PrintStream out, PrintStream err)