When optimizing - don't forget the Java Virtual Machine (JVM)
When optimizing - don't forget the Java Virtual Machine (JVM)
http://bigdatamatters.com/bigdatamatters/2009/08/jvm-performance.htmlWhen optimizing - don't forget the Java Virtual Machine (JVM)
http://bigdatamatters.com/bigdatamatters/2009/08/jvm-performance.html
VisualVM is a tool to monitor and troubleshoot Java applications. It runs on Sun JDK 6, but is able to monitor applications running on JDK 1.4 and higher. It utilizes various available technologies like jvmstat, JMX, the Serviceability Agent (SA), and the Attach API to get the data and automatically uses the fastest and most lightweight technology to impose minimal overhead on monitored applications.
https://visualvm.dev.java.net/
Screencast
BTrace is a safe, dynamic tracing tool for the Java platform. BTrace can be used to dynamically trace a running Java program (similar to DTrace for OpenSolaris applications and OS). BTrace dynamically instruments the classes of the target application to inject tracing code ("bytecode tracing"). Tracing code is expressed in Java programming language. There is also integration with DTrace for the OpenSolaris platform.
Tracing JDBC SQL queries using BTrace
http://blogs.sun.com/sundararajan/entry/btrace_in_real_world
BTrace Fix on the Mac
http://kensipe.blogspot.com/2009/02/btrace-fix-on-mac.html
BTrace Plugin for VisualVM
http://kenai.com/projects/btrace/pages/BTracePlugin
Monitoring and Troubleshooting Java™ Platform Applications with JDK™ Software
https://visualvm.dev.java.net/files/documents/7163/136082/JavaOne-2009-BOF-4724.pdf
Eclipse Launcher for VisualVM
https://visualvm.dev.java.net/eclipse-launcher.html

