The Java Platform, Standard Edition (Java SE) provides an API to allow you to monitor and manage the Java Virtual Machine (Java VM) and other applications, in the package java.lang.management.
The Java SE 6 platform includes the following enhancements to this API.
java.util.concurrent
locks has been
added.
The ThreadMXBean.getThreadInfo
methods have been
enhanced to report the
java.util.concurrent.locks.AbstractOwnableSynchronizer that a
thread is waiting to acquire. The Java 2 Platform, Standard Edition
(J2SE) 5.0 only reported an object monitor that a thread was
blocked from entering or waiting to acquire.
In addition, the following new methods have been added in the ThreadMXBean interface:
java.lang.management
package.
The Java SE platform provides a graphical monitoring tool called JConsole. The JConsole tool implements the Java Management Extensions (JMX) API and enables you to monitor the performance of a Java VM and any instrumented applications. Introduced in J2SE 5.0, JConsole became an officially supported feature of Java SE 6.
Some of the enhancements that have been made to the JConsole tool between these two releases are as follows.
The Java Java VM has built-in instrumentation that enables you to monitor and manage it using the JMX technology. These built-in management utilities are often referred to as out-of-the-box management tools for the Java VM. The following enhancement has been made to the out-of-the-box management utilities in this release.
com.sun.management.jmxremote.registry.ssl
, has been
added to enable the use of a SSL-enabled RMI registry so that only
legimate clients with the appropriate SSL certificates can obtain
the connector stub.