Class HeapdumpCommand
java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
com.ibm.jvm.dtfjview.commands.HeapdumpCommand
- All Implemented Interfaces:
 ICommand
Command for dumping heapdumps from DTFJ.
Contains the heap-walking logic for building the reference tree. The code for writing the heapdumps
(both PHD and classic) is in the com.ibm.jvm.heapdump package.
- 
Nested Class Summary
Nested classes/interfaces declared in class BaseJdmpviewCommand
BaseJdmpviewCommand.ArtifactType - 
Field Summary
FieldsFields declared in class BaseJdmpviewCommand
ctx, hexfmt, logger, outFields declared in class BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidPrint detailed help for a given commandvoidrun(String command, String[] args, IContext context, PrintStream out) Executes the commandMethods declared in class BaseJdmpviewCommand
decodeThreadState, getArtifactType, handleException, initCommand, toHexString, toHexString, toHexString, toHexString, toHexStringAddr, toLong, toString, toStringMethods declared in class BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig 
- 
Field Details
- 
COMMAND_NAME
- See Also:
 
 - 
DESCRIPTION
- See Also:
 
 - 
LONG_DESCRIPTION
- See Also:
 
 
 - 
 - 
Constructor Details
- 
HeapdumpCommand
public HeapdumpCommand() 
 - 
 - 
Method Details
- 
run
public void run(String command, String[] args, IContext context, PrintStream out) throws CommandException Description copied from interface:ICommandExecutes the command- Parameters:
 command- Command string e.g. !j9xargs- Arguments for commandcontext- Context to work inout- PrintStream to write command output on- Throws:
 CommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
 - 
doCommand
 - 
printDetailedHelp
Description copied from class:BaseJdmpviewCommandPrint detailed help for a given command- Specified by:
 printDetailedHelpin classBaseJdmpviewCommand- Parameters:
 out- stream to write the output to
 
 -