This tool is provided with the Java Development Kit (JDK)
In order to be able to monitor a JVM, the JDK version must equal or higher than the JVM version.
So to dump CAST-MS, JDK must be at least at version 6.0.15
JDK download can be found at this location http://java.sun.com/javase/downloads/index.jsp
The tool is located in the "bin" subfolder of the JDK
If the Java application hangs, you may create a thread dump
- Open jvisualvm.exe
- Locate your Application
If the tool cannot display the application name (<Unknown Application>), you can open the Task Manager to get the Process Id (pid) or use the Java Home property in "Overview" tab
- Select the "Threads" tab
- Click on button "Thread Dump"
It contains the call stacks of all running threads
If there is a deadlock, it is mentioned at the end of the report