diagnosing threadlock in java

diagnosing threadlock in java

Postby fil512 » 18 Jun 2011, 02:46

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
fil512
 
Posts: 6
Joined: 10 Jun 2011, 21:02

Re: diagnosing threadlock in java

Postby Edward_Lii » 18 Jun 2011, 07:52

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. ;)
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Re: diagnosing threadlock in java

Postby Tuxide » 18 Jun 2011, 10:03

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.
Crossfire and Wesnoth played a game of chess. It started out as an open game.
User avatar
Tuxide
 
Posts: 41
Joined: 04 Dec 2009, 04:37

Re: diagnosing threadlock in java

Postby charlie » 18 Jun 2011, 14:29

I'd ask this question on www.stackoverflow.com where there is an overflow (pun intended) of Java expertise.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Who is online

Users browsing this forum: No registered users and 0 guests