java.lang.management Demonstration Code
Shows how to get thread dumps and look for deadlocks.
Shows how you can find out about Garbage Collection in the VM.
Shows how you can find out the memory usage in the VM.
Shows how you can find out the threads with top CPU usage.
Comments and Feedback
Comments regarding java.lang.management API or on any of these
demonstrations should be sent through