...
Resulting in:
Deadlocking:
Command Line example
If you are looking for a regular command line test of deadlocking then the demo FullThreadDump.jar is a good example tool. If you have the demo code installed then try a command similar to:
Code Block |
---|
/usr/lib/jvm/java-6-sun-1.6.0.00/bin/java -jar FullThreadDump.jar localhost:2222
|