Index |
Deadlock? Deadlocks can occur when two or more threads are locking resources in an order that results in all threads waiting indefinitely. The simplest example is where Thread A locks Object A and then attempts to lock Object B, while another Thread B has Object B locked and is waiting to lock Object A. In this case, Thread A will never release Object A because it is waiting for Object B. This will never happen because Thread B will keep Object B locked indefinitely as it waits for Object A to become available. |
wrapper.check.deadlock.interval |
||||||||
The wrapper.
|
wrapper.check.deadlock.action |
||||||||||
The wrapper.
Possible actions are:
NOTENote that actions that do not restart the JVM, like "NONE", will repeatedly be fired each time the deadlock check is made. Chaining Multiple Actions: It is possible to specify more than one action by separating them with a space or comma. When more than one action is specified, they will be executed in rapid succession in the order specified. The following example will perform a thread dump and then restart the JVM.
|
wrapper.check.deadlock.output |
||||||||||||||
The wrapper.
Possible output levels are:
|