Additional stack unwind features are available starting with SDK 1.4.2. These features fall into three categories: Java stack unwind enhancements, Java heap support, and Java threads support.
These additional features are available as part of the Java stack unwind enhancements:
•View Java compiled frame inlined methods.
•View Java interpreted or compiled frame specific information.
•View Java interpreted or compiled frame arguments and local variables.
•Disassemble Java method bytecodes.
•Print out the Java unwind table.
These additional features are available as part of Java heap support:
•View Java heap parameters.
•Dump Java object.
•Print Java heap histogram.
•Find all the instances of a given Java class.
•Find all the references to a given object in the Java heap.
•Find out the object OOP
These additional features are available as part of Java threads support:
•View Java threads state information.
•View current Java thread information.
•View Java interpreted frame monitors information.
14.25.1.2 gdb Subcommands for Java VM Debugging
Commands for Examining Java Virtual Machine(JVM) internals
To view the gdb commands that support Java VM debugging, type help java at the gdb prompt.
(gdb) help java
Java and JVM debugging commands.
List of java subcommands:
java args
java instances
java locals
java object
java oop
java references
Type help java followed by java subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.
218