eclipse deadlock detection tools [message #48734] |
Wed, 04 June 2003 14:23 |
Eclipse User |
|
|
|
Originally posted by: mark_lybarger.NOSPAMyahoo.com
are there any eclipse tools for detecting deadlock situations? i have a
small deamon type application that processes orders from a database and
sends request xml and gets response xml from a socket. it locks up
infrequently and very randomly. i've eyed the code and don't really see
where it might be locking as i don't see any waits or notifys and the only
thing that could be common between threads is the socket/port
communication being used.
tia.
|
|
|
|
Re: eclipse deadlock detection tools [message #48913 is a reply to message #48854] |
Wed, 04 June 2003 16:43 |
Eclipse User |
|
|
|
Originally posted by: mark_lybarger.NOSPAMyahoo.com
Michael Paus wrote:
> mark wrote:
> > are there any eclipse tools for detecting deadlock situations? i have a
> > small deamon type application that processes orders from a database and
> > sends request xml and gets response xml from a socket. it locks up
> > infrequently and very randomly. i've eyed the code and don't really see
> > where it might be locking as i don't see any waits or notifys and the only
> > thing that could be common between threads is the socket/port
> > communication being used.
> >
> > tia.
> >
> I don't know of any Eclipse specific tool but have you tried the new
> deadlock detection feature in JDK 1.4.1?
> See http://java.sun.com/j2se/1.4.1/changes.html#vm
> Michael
i saw that feature, and unfortunately, i don't think i have much control
over the vm that's being used. also, this feature only works when you can
use ctrl+/ or some keyboard strokes on the application when it locks up.
my appllication is a daemon type program which is managed by init on unix.
thus, i don't have keyboard access to abort the program when it locks.
the best i've thought of is if i can run it in debug mode and connect when
there's a deaklock then perhaps i can see what's being locked if anything.
if anyone else has any suggestions for good places of info, it would be
most appreciated.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03122 seconds