This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes ThreadInfo more info on blocking threads Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "ThreadInfo more info on blocking threads" Watch "ThreadInfo more info on blocking threads" New topic
Author

ThreadInfo more info on blocking threads

John Sutt
Ranch Hand

Joined: Mar 07, 2008
Posts: 42
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,
John.


SCJP 6 (91%), SCJD (91%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ThreadInfo more info on blocking threads
 
Similar Threads
Threads Confusion
hide xml data
Need Help
H1-B activism or hope things get better?
Interrupt Java Worker Thread