How to detect deadlock ? Timeout in synchronized block?

后端 未结 7 2079
北荒
北荒 2020-12-29 09:00

I’m debugging a Java application that runs several threads. After a while of watching the log it seems that one of those threads is not running anymore. My guess is that the

相关标签:
7条回答
  • 2020-12-29 09:41

    You can use Java Management Extension (JMX) API to figure out dead lock in java. Check out http://ourownjava.com/how-to-identify-deadlock-in-java for an example.

    0 讨论(0)
提交回复
热议问题