diagnosing threadlock in java

Posted:
18 Jun 2011, 02:46
by fil512
My open-source java swt game client works great in Windows and Mac, but under Linux it's thread deadlocking. Does anyone know any tools they'd recommend for diagnosing a thread deadlock? I don't have access to a Linux box, so I'd be needing someone else to run the tool and send me the results.
Thanks!
Ken
Re: diagnosing threadlock in java

Posted:
18 Jun 2011, 07:52
by Edward_Lii
Hello fil512,
fil512 {l Wrote}:My open-source java swt game client works great in Windows and Mac, but under Linux it's thread deadlocking. Does anyone know any tools they'd recommend for diagnosing a thread deadlock? I don't have access to a Linux box, so I'd be needing someone else to run the tool and send me the results.
You could try jstack to get a complete thread dump.

Re: diagnosing threadlock in java

Posted:
18 Jun 2011, 10:03
by Tuxide
I use VisualVM quite a bit but I've never used it for diagnosing threads. If Edward_Lii is recommending jstack then I'll recommend VisualVM since it uses jstack anyways.
Re: diagnosing threadlock in java

Posted:
18 Jun 2011, 14:29
by charlie
I'd ask this question on
www.stackoverflow.com where there is an overflow (pun intended) of Java expertise.