Page 1 of 11

Tag Archive for 'java-performance-tuning'

Java VisualVM is Now Bundled with JDK6 Update 7

Java SE 6 has already been released for quite some time (ya… now already update 7 looo). Even though many monitoring and diagnostics features are enhanced and introduced in Java 6, but it has been lacking an out-of-the-box bundling of a convincing visual Java application monitoring or profiling tool, until the most recent JDK6 Update 7.

In this latest update of JDK 6 (version 6u7), the Java VisualVM - a visual tool integrating several lightweight profiling capabilities for troubleshooting Java applications, is bundled. After installation of JDK 6u7, you can find jvisualvm.exe in the /bin folder. By the way, VisualVM is similar to JConsole to certain extends, but a lot better than JConsole.

You might have heard of JProfiler, or even have some first-hand experiences with it. No doubt it’s an comprehensive Java application profiler, but it comes with a price tag :) Java VisualVM is FREE, free like a free beer!

How to take advantage with Java VisualVM?

Java VisualVM

Firstly, in order to benefit from the full profiling advantage of Java VisualVM, you must run your Java application on JVM 6. No worry, you can also compile your codes with Java 5 compatibility, and run the application on JVM 6, so that it is profilable by VisualVM.

For all applications running on JVM 6, you will be able to create CPU and memory profiler, take thread dumps, browse heap dumps, and more. For applications running on JVM 5, the most that you can monitor with VisualVM, is only the threads. Click here for more details on Java VisualVM features. Continue reading ‘Java VisualVM is Now Bundled with JDK6 Update 7′