This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.