Documentation Contents
Java Platform, Standard Edition Troubleshooting Guide
Contents    Previous    Next

The java.lang.management Package

The java.lang.management package provides the management interface for monitoring and management of the JVM and the operating system. Specifically it covers interfaces for the following systems:

The JDK includes example code that demonstrates the usage of the java.lang.management package. These examples can be found in the $JAVA_HOME/demo/management directory. Some of these example codes are as follows:

In addition to the java.lang.management package, the JDK release includes platform extensions in the com.sun.management package. The platform extensions include a management interface to obtain detailed statistics from garbage collectors that perform collections in cycles. These extensions also include a management interface to obtain additional memory statistics from the operating system.

For more information about the platform extensions, see the Java SE Monitoring and Management documentation.

Contents    Previous    Next

Oracle and/or its affiliates Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Contact Us