Top "Thread-dump" questions

When debugging it becomes necessary to dump the thread state of the application, this is usually to find a deadlock, lock contention or leaking connections.

How to get a thread and heap dump of a Java process on Windows that's not running in a console

I have a Java application that I run from a console which in turn executes an another Java process. I …

java jvm heap-dump thread-dump
Thread Dump Analysis Tool / Method

When the Java application is hanging, you don't even know the use case that is leading to this and want …

java debugging deadlock thread-dump
jstack: Target process not responding

I am running Ubuntu server edition and I wanted to take a thread dump of Tomcat. So, I first tried …

java jstack thread-dump
How to analyze a java thread dump?

I am trying to understand more about java, especially about memory management and threads. For this reason I have recently …

java multithreading thread-dump
Java thread dump: BLOCKED thread without "waiting to lock ..."

I'm having difficulties in understanding the thread dump I got from jstack for a Spring MVC web application running on …

java jstack thread-dump
Tomcat thread dump

Is there away to take a thread dump from Tomcat. I want to monitor the running threads on Tomcat at …

java tomcat permgen thread-dump
Taking thread dumps in production

I am analyzing the differences between approaches for taking thread dumps. Below are the couple of them I am researching …

java runtime.exec thread-dump
Java thread dump: WAITING (on object monitor) - what is it waiting on?

there was a similar question asked java-thread-dump-waiting-on-object-monitor-line-not-followed-by-waiting-on, but there was no concrete answer, so I will ask my question in …

multithreading jvm thread-dump
100 threads TIMED_WAITING in tomcat, causing it to stall as total number of threads crosses 200

Recently one of our production tomcat server became unresponsive because tomcat's busy threads shot upto 200. When we took thread dump …

java multithreading tomcat threadpool thread-dump
Java thread dump: Difference between "waiting to lock" and "parking to wait for"?

In a Java thread dump, you can see locks mentioned within stack traces. There seems to be three kinds of …

java multithreading locking jvm thread-dump