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 com.ibm.j9ddr.tools.ddrinteractive.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 com.ibm.j9ddr.tools.ddrinteractive.Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognises
-
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
-