Flow dump analyzer

Do you know a good flow dump analyzer tool? It would be ideal:

  • is free
  • can read multiple stream dumps and compare them
  • indicate which threads took the longest, what are the classes in which the thread is blocked, etc.
  • shows threads, locks, deadlocks and several threads waiting to receive one lock.

Edit:

  • offline analysis - upload a file with one or more stream dumps and analyze it.

Edit: My choice: samurai. It has all the necessary functions: Loads a log file and compares several dump dumps. Analyze it and indicate:

  • pending threads
  • locked threads
  • thread blocking
  • dead end

I will leave the question as the answer, because the TDA is the best answer that has been given.

+4
source share
3 answers

You can use TDA - Thread Dump Analyzer, a plugin for Visual VM.

Visual VM is also free. I think this is your best choice.

If you are using Linux, you can use kill -3 to get a stream dump and look for deadlocks using the stream dump analyzer.

VisualVM now ships as part of the JDK and can be used as monitor memory usage, threads, and also includes a profiler.

jmap can be used to get heap histograms and heap dumps from Java processes. Then you can use a tool like Eclipse Memory Analyzer to explore it.

As already mentioned, you can look at JMX and JConsole. Each service in our application has an MBean, so we can look at keys such as the size of the queue to check if there is anything normal.

From Sun JVM Troubleshooting Tools and Tips to ServerFault.

+4
source

If you are using the IBM JRE, you should use the IBM Thread and Monitor Dump Analyzer for Java , which offers exactly what you need (stand-alone use, comparison, etc.).

+1
source

You can try my Dump Analyzer . I had the same need and developed my own dump analyzer. It has some features of your list.

-1
source

Source: https://habr.com/ru/post/1445941/


All Articles