This content has been marked as final. Show 1 reply
VisualVM can only profile local applications running on JDK 6. If you enable [JMX agent|http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html] in your application, you can "profile" your application with [VisualVM-Sampler plugin|http://java.dzone.com/announcements/visualvm-12-great-java] available for VisualVM 1.2.1. Note that VisualVM is a Java monitoring and troubleshooting tool - it detects and recognizes running applications, browses their MBeans, takes thread and heap dumps, shows VM configuration and metrics and saves these information into application snapshots. It uses four different technologies (Jvmstat, JMX, Attach API and Serviceablity agent) to extract useful information from running JVM and present them in the one integrated view. It also provides basic profiling capabilities, but that's just one of the features. If you need a full-featured mature Java profiler for your daily development use NetBeans Profiler.