Hi,
I'm writing my own Monitor und I'm now implementing
JUnit Tests.
Is there any method I can do a
test to find out, if a
Thread is blocked ?
I found Thread.isAlive(), but it just states the Thread has been started and it is not dead (yet).
I have found 'static java.lang.Thread.holdsLock(Object obj)' but his is just
for the current running Thread...
Is there a way to get some debugging information out of the jvm, to tell me,
which Thread is blocked (where, on what, etc) ?