I have encountered a deadlock in the java program. And I must debug it and correct the deadlock.
The program uses a lot of threads and I have checked the jvm output by clicking "ctrl + \" (dump as below). It shows a deadlock in the program. Could anyone give me some ideas on how to debug the multithreaded program written in java? Is there any tools to help me debug the multithread program?
Found one Java-level deadlock:
waiting to lock monitor 0x000bee70 (object 0xf1b9e878, a com.lucent.umts.gui.UmtsFrame),
which is held by "AWT-EventQueue-0"
waiting to lock monitor 0x000bee38 (object 0xf1bfb558, a javax.swing.RepaintManager),
which is held by "Thread-0"