Class J9MemTagCommands
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.J9MemTagCommands
- All Implemented Interfaces:
IEventListener, ICommand
-
Nested Class Summary
Nested classes/interfaces declared in class Command
Command.CommandDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcorruptData(String message, CorruptDataException e, boolean fatal) CorruptData handler used with J9MemTagIteratorvoidrun(String command, String[] args, Context context, PrintStream out) Executes the commandMethods 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
-
SEARCH_SLAB_SIZE
public static final long SEARCH_SLAB_SIZE- See Also:
-
-
Constructor Details
-
J9MemTagCommands
public J9MemTagCommands()
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException Description copied from interface:ICommandExecutes the command- Specified by:
runin interfaceICommand- 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.)
-
corruptData
CorruptData handler used with J9MemTagIterator- Specified by:
corruptDatain interfaceIEventListener- Parameters:
message- text message related to the corrupt data exceptione- the corrupt data exception
-