Wednesday, February 16, 2011

Java Thread Dumps, JStack, JDA, JConsole, VisualVM

Eric D. and Chuck Frank on the uPortal list were discussing Java dumps and analysis. Eric suggested that he does at least three Java thread dumps spaced 30 seconds apart and then analyzes them. Between the two they mentioned:
  • JStack to dump (or kill -3 (pid) on *nix)
  • TDA for Java thread dump analysis
  • JConsole for JVM monitoring in Java 5+
To add some others: But, I am guessing that the point of sample dumps vs. using a profiler was due to what was mentioned by Mike Dunlavey here and here. Good reads, btw.

No comments: