DTrace is a command line tool in Solaris and Apple OS-X that can collect information and statistics from over 100,000 instrumentation points in the kernel and applications. Chime is a tool for easily constructing dynamic graphs of DTrace output.
Presentation slides (PDF format) Presentation handout (PDF format)
Below are some Chime displays for java applications. These need OpenSolaris™ Nevada build 35 or later, Chime, and
JDK 6:
java_method_calls.xml
java_thread_method_calls.xml
monitor_wait_times.xml
(thanks to Jarod Jenson & Tom Erickson)
Java and OpenSolaris are trademarks of Sun Microsystems, Inc.