Class MarkMapCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.MarkMapCommand
- All Implemented Interfaces:
ICommand
-
Nested Class Summary
Nested classes/interfaces declared in class Command
Command.CommandDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfindSource(String[] args, Context context, PrintStream out) protected voidfromBits(String[] args, Context context, PrintStream out) protected voidisMarked(String[] args, Context context, PrintStream out) protected voidmarkBits(String[] args, Context context, PrintStream out) protected voidnear(String[] args, Context context, PrintStream out) protected voidreportResults(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer base, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer top, GCHeapMap.MarkedObject[] results, PrintStream out) voidrun(String command, String[] args, Context context, PrintStream out) Executes the commandprotected voidscanRange(String[] args, Context context, PrintStream out) protected voidsetMarkMap(String[] args, Context context, PrintStream out) protected voidprotected voidshowMarkMap(String[] args, Context context, PrintStream out) Methods declared in class Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognisesModifier and TypeMethodDescriptionaddCommand(String name, String argDescription, String helpDescription) voidaddSubCommand(Command.CommandDescription command, String name, String argDescription, String helpDescription) protected longdbgFindPatternInRange(Context context, byte[] pattern, int patternAlignment, long startSearchFrom, BigInteger bytesToSearch) voidThis prints the detailed help for the command by listing all the names that this command can be invoked by and also any sub commands that have been defined.booleanrecognises(String command, Context context) Method used by the DDR Interactive engine to decide whether this command matches the command passed in by the user
-
Field Details
-
markMap
-
-
Constructor Details
-
MarkMapCommand
public MarkMapCommand()
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException 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:
DDRInteractiveCommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
-
isMarked
protected void isMarked(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
near
protected void near(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
scanRange
protected void scanRange(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
reportResults
protected void reportResults(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer base, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer top, GCHeapMap.MarkedObject[] results, PrintStream out) -
markBits
protected void markBits(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
fromBits
protected void fromBits(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
findSource
protected void findSource(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
showMarkMap
protected void showMarkMap(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-
showActiveMarkMap
-
setMarkMap
protected void setMarkMap(String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException - Throws:
DDRInteractiveCommandException
-