Skip to main content
This revision made February 17, 2011 08:51, by Ingo Rockel
« earlier revision revert to this « later revision

TDA Wiki

The TDA Thread Dump Analyzer for Java is a small Swing GUI for analyzing Thread Dumps and Heap Information generated by the Sun Java VM (currently tested with 1.4.x, 1.5.0_x and 1.6.0_x releases). It parses the thread dumps and class histograms from a provided log file. TDA needs at least Java 1.4.2_x to run.

It provides statistic informations about the found thread dumps, gives information about locked monitors and waiting threads. It can diff between threads to look for similarities and has a "long-running-thread" detection. It also provides overview of heap objects at a thread dump, if class histogram was logged.

Features are in detail:

  • Parsing all thread dumps of a log file, using a specified regular expression for log file time stamps (thread dumps don't have any date information by default), displaying them in a tree.
  • Display of statistic data about the found thread dumps, display of monitors, waiting, sleeping and locking threads, dumps provide links in context for easy dump navigation,
  • integrated class histogram analysis for a specific thread dump (using the -XX:+PrintClassHistogram option of the VM), can also be parsed from a second file, if loggc-Option was used (to log garbage collections to a different log file).
  • displays deadlock information from the thread dump, displays hints about possible problems in the analyzed dumps and
  • ability to add additional logfiles (useful if logfiles are rotated) or open many at once.
  • Session handling to be able to reopen a tda session.
  • Integration into JConsole as plugin.
  • A VisualVM plugin.

The emphasis of the TDA is to provide analysis support of offline information gathered from production environments.

In addition to TDA you might find the GCViewer helpful. It parses the output of the garbage collector from a loggc file and displays it graphically, so you can analyse the memory usage over the time.

TDA includes a help overview giving detailed information on how to use the tool.


Difference compared to previous revision
<span>Features are in detail: * Parsing all thread dumps of a log file, using a specified regular expression for log file time stamps (thread dumps don't have any date information by default), displaying them in a tree. * Display of statistic data about the found thread dumps, display of monitors, waiting, sleeping and locking threads,<span style="text-decoration:line-through;color:red"> </span><span style="text-decoration:underline;color:green"> </span>dumps provide links in context for easy dump navigation, * integrated class histogram analysis for a specific thread dump (using the -XX:+PrintClassHistogram option of the VM), can also be parsed from a second file, if loggc-Option was used (to log garbage collections to a different log file). *<span style="text-decoration:underline;color:green"> </span>dumps provide links in context for easy dump navigation, * integrated class histogram analysis for a specific thread dump (using the -XX:+PrintClassHistogram option of the VM), can also be parsed from a second file, if loggc-Option was used (to log garbage collections to a different log file). *displays deadlock information from the thread dump,<span style="text-decoration:line-through;color:red"> </span>displays deadlock information from the thread dump,<span style="text-decoration:underline;color:green"> </span>displays hints about possible problems in the analyzed dumps and * ability to add additional logfiles (useful if logfiles are rotated) or open many at once. * Session handling to be able to reopen a tda session. * Integration into JConsole as plugin.<span>
 
 
Close
loading
Please Confirm
Close