views:

80

answers:

1

I am looking for a tool which can predict deadlocks in java before the occur. I tried to use MTrat but failed (maybe it does not supports Sun Hotspot JVM so well) Does someone have a good tool for this purpose?

+3  A: 

I don't know if this is what you are after, but if you haven't tried, see if Findbugs helps. Findbugs helped me in removing some concurrently problematic codes and many other types of bugs.

tim_wonil