|
The deadlock detection graph shows a graph of threads and monitors that
describe a deadlock detection. For the normal situation where no deadlocks
are present a "No deadlocks detected" message is displayed in this view.
Deadlocks are analyzed for
-
the primitive synchronization mechanism that's built into the Java platform,
i.e. when using the synchronized keyword.
-
the locking facility in the java.util.concurrent package which
does not use monitors of objects but a different natively implemented mechanism.
In addition, the deadlock graph also displays situations in which a thread that holds at least one contended
monitor is waiting to be notified. This is not necessarily a deadlock, but some deadlocks are of this nature.
|