|
|
|
|
|
|
| Jprofiler |
| Optimize Java Performance - Thread Views |
|
|
|
|
|
|
|
| Solve Thread-Related Problems |
|
| Threads can be exceptionally difficult to debug, especially if you don't have sufficient information on the actual sequence and status of the threads in your application. JProfiler's thread views provide you with exactly this knowledge. |
|
| The thread history view shows a continuous update of the lifelines of all threads on the horizontal axis. The names of the threads are displayed on the vertical axis in the order of their creation. Each color signifies a different thread status. Orange means that the thread was sleeping, green stands for a runnable thread while red is displayed if the thread was waiting for a monitor. You can zoom in and out to your desired detail level or have the time axis fit your window's size automatically. |
|
 |
|
| If you're more interested in what's happening right now, the thread monitor view is the right place to be. Here, you can sort threads, filter with respect to thread status and view additional information on each thread. |
|
 |
|
| Detecting deadlocks, reducing general monitor contention and debugging locking sequences requires a detailed view of the current monitor usage and a history of all monitor-related events. JProfiler has both. Below you see the monitor usage history which shows a blocking event together with the stack trace of the waiting thread. |
|
 |
|
|
|
|
|
|
|
|