Category: Java

Java

Thread Dump Analysis

In this article we are going to demonstrate how to identify issues with threads and analyze the thread dump by creating a deadlock situation. Problem Create a deadlock between two threads. Java Code Analysis using jconsole Open Jconsole and connect to the JVM where deadlock has occurred. Open Thread tab and identify the problem Thread0 …