Module openj9.dtfj
Class WalkJ9HashTableCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.WalkJ9HashTableCommand
- All Implemented Interfaces:
ICommand
Implementation of DDR extension !walkj9hashtable.
This extension takes a J9HashTable address and an optional type argument,
and prints the address of each element in the hashtable as a runnable DDR command.
The type argument is used to derive the DDR command prefix to prepend to each element's address.
If not provided, the default DDR command prefix is "!j9x".
-
Nested Class Summary
Nested classes/interfaces declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
Command.CommandDescription -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(String command, String[] args, Context context, PrintStream out) Run method for !Methods declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognises
-
Constructor Details
-
WalkJ9HashTableCommand
public WalkJ9HashTableCommand()Constructor
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException Run method for !walkj9hashtable extension.- Parameters:
command- !walkj9hashtableargs- args passed by !walkj9hashtable extensioncontext- Contextout- PrintStream- Throws:
DDRInteractiveCommandException
-