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.

Monitor profiling

Monitor profiling helps you analyze synchronization issues, including:

  • which threads were calling wait(), and for how long
  • which threads were blocked on attempt to acquire a monitor held by another thread (synchronized methods/blocks), and for how long

The times are measured as wall time.

To start monitor profiling use "Start Monitor Profiling" toolbar button, after the profiler is connected to the profiled application.

Monitor profiling results are shown in the "Monitor Usage" view. Results can be grouped by waiting thread, by blocker thread or by monitor class name.

monitors tab
  • waiting thread - waiting thread - thread which called wait()
  • blocked thread - blocked thread - thread failed to immediately enter the synchronized method/block
  • blocker thread - blocker thread - thread that held the monitor preventing the blocked thread from entering the synchronized method/block

Percents in the tree are shown using the duration of monitor profiling (i.e. time passed since last start or clear) as 100%. This allows you to estimate the average percentage of time when thread waits/is blocked.

To launch an application with monitor profiling started, specify monitors startup option.

Actions

The following actions are available in the popup menu:

  • Lines can be copied by using File | Copy (Ctrl+C).
  • File | Export to... (Ctrl+S) - exports view to different formats.
  • Tools | Open in IDE (F7) - opens method declaration in IDE editor. See IDE integration.

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, 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.