This post is older than a year. Consider some information might not be accurate anymore.
The Oracle JDK distributes two major tools for monitoring and profiling java applications or more accurately the Java Virtual Machine (JVM).
The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform.
VisualVM is a visual tool integrating several commandline JDK tools and lightweight profiling capabilities. Designed for both production and development time use, it further enhances the capability of monitoring and performance analysis for the Java SE platform.</blockquote>