Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy-to-use performance and memory .NET profiler for Windows, Linux and macOS.
Secure and easy profiling in cloud, containers and clustered environments.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Deadlocks

Goals of deadlocks detector

Deadlocks detector is designed to identify deadlocks among Java threads, providing critical insights into thread synchronization issues that can lead to application freezes or performance degradation. If a deadlock is detected within the JVM, a notification will be displayed to alert you immediately.

Agent startup options

Deadlocks detection is enabled by default and runs every 5 minutes. You can adjust this behavior using the following startup options: deadlocks=off to disable it, and deadlocks_check_period to set a custom check interval.

Deadlocks view

deadlocks tab

Detected deadlocks are presented in a table with key columns that help identify the source and understand impact:

  • Thread : The blocked thread attempting to acquire the lock, along with the thread's stacktrace.
  • Lock owner : The thread currently holding the lock, preventing the blocked thread from proceeding.
  • Lock object : The lock object instance, that the blocked thread is trying to acquire, represented by its class name and identity hash code.
  • Lock time : The duration since the deadlock was first detected, helping assess its persistence and impact on application performance.

Toolbar

  • Apply filters : Apply filters to this view.
  • Expand : Expand all threads to show stacks.
  • Collapse : Collapse all threads to hide stacks.
  • Copy : Copy all stack traces.

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.