File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ThreadInfo more info on blocking threads

John Sutt
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I know how I can use a ThreadMXBean to get a ThreadInfo object about a thread in which I can find:
- a block counter (the number of object.wait() calls), and
- the blocked time (the time spend being blocked).

But can anybody tell me how to, e.g. install an agent, that can tell me the exact objects on which the threads are blocked? It seems this might be possible somehow.

Thanks in advance,
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic