The example creates pairs of threads every 30 seconds, stopping at 50 threads, which synchronize work using shared locks. Occasionally, the program reverses the order in which locks are taken, eventually causing a deadlock, which generates a Thread Deadlock Alert (page 115).
The demo application is available from the HPjmeter installation directory:Source: $JMETER_HOME/demo/DL1.javaBinary: $JMETER_HOME/demo/DL1.jarUseUse the Thread Histogram display to see the thread activity. Deadlocked threads show a solid red bar.
FigureMonitoring Demonstration Instructions | 35 |