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

public abstract Class Tool

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Known Direct Subclasses
sun.jvm.hotspot.tools.jcore.ClassDump, sun.jvm.hotspot.tools.ClassLoaderStats, sun.jvm.hotspot.tools.FinalizerInfo, sun.jvm.hotspot.tools.FlagDumper, sun.jvm.hotspot.tools.HeapDumper, sun.jvm.hotspot.tools.HeapSummary, sun.jvm.hotspot.tools.JInfo, sun.jvm.hotspot.tools.JMap, sun.jvm.hotspot.tools.JSnap, sun.jvm.hotspot.tools.JStack, sun.jvm.hotspot.tools.ObjectHistogram, sun.jvm.hotspot.tools.PMap, sun.jvm.hotspot.tools.PStack, sun.jvm.hotspot.tools.StackTrace, sun.jvm.hotspot.tools.SysPropsDumper
Imports
java.io.PrintStream, sun.jvm.hotspot.HotSpotAgent, sun.jvm.hotspot.debugger.DebuggerException, .JVMDebugger, sun.jvm.hotspot.runtime.VM

Field Summary

Modifier and TypeField and Description
private HotSpotAgent
protected static final int
protected static final int
protected static final int
private int
private JVMDebugger

Constructor Summary

AccessConstructor and Description
public
Tool()

public
public

Method Summary

Modifier and TypeMethod and Description
protected void
execute(String[] args)

protected HotSpotAgent
protected int
public String
protected boolean
protected void
protected void
protected void
protected void
private int
start(String[] args)

public void
private void
public void
stop()

protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

agentback to summary
private HotSpotAgent agent
DEBUGEE_COREback to summary
protected static final int DEBUGEE_CORE
DEBUGEE_PIDback to summary
protected static final int DEBUGEE_PID
DEBUGEE_REMOTEback to summary
protected static final int DEBUGEE_REMOTE
debugeeTypeback to summary
private int debugeeType
jvmDebuggerback to summary
private JVMDebugger jvmDebugger

Constructor Detail

Toolback to summary
public Tool()
Toolback to summary
public Tool(JVMDebugger d)
Toolback to summary
public Tool(HotSpotAgent agent)

Method Detail

executeback to summary
protected void execute(String[] args)
getAgentback to summary
protected HotSpotAgent getAgent()
getDebugeeTypeback to summary
protected int getDebugeeType()
getNameback to summary
public String getName()
needsJavaPrefixback to summary
protected boolean needsJavaPrefix()
printFlagsUsageback to summary
protected void printFlagsUsage()
printUsageback to summary
protected void printUsage()
setAgentback to summary
protected void setAgent(HotSpotAgent a)
setDebugeeTypeback to summary
protected void setDebugeeType(int dt)
startback to summary
private int start(String[] args)
startback to summary
public void start()
startInternalback to summary
private void startInternal()
stopback to summary
public void stop()
usageback to summary
protected void usage()