APIdia Launch Partner
Top Description Interfaces Classes
module jdk.management

Package com.sun.management


This package contains JDK extensions to the standard implementation of the java.lang.management API and also defines the management interface for some other components of the platform.

All platform MBeans are registered in the platform MBeanServer which can be obtained via the java.lang.management.ManagementFactory#getPlatformMBeanServer

Author
Mandy Chung
Since
1.5

Interface Summary

Modifier and TypeInterface and Description
public interface
DiagnosticCommandMBean

Management interface for the diagnostic commands for the HotSpot Virtual Machine.

public interface
GarbageCollectorMXBean

Platform-specific management interface for a garbage collector which performs collections in cycles.

public interface
HotSpotDiagnosticMXBean

Diagnostic management interface for the HotSpot Virtual Machine.

public interface
OperatingSystemMXBean

Platform-specific management interface for the operating system on which the Java virtual machine is running.

public interface
ThreadMXBean

Platform-specific management interface for the thread system of the Java virtual machine.

public interface
UnixOperatingSystemMXBean

Platform-specific management interface for the Unix operating system on which the Java virtual machine is running.

Class Summary

Modifier and TypeClass and Description
public class
GarbageCollectionNotificationInfo

The information about a garbage collection

A garbage collection notification is emitted by GarbageCollectorMXBean when the Java virtual machine completes a garbage collection action The notification emitted will contain the garbage collection notification information about the status of the memory:

  • The name of the garbage collector used to perform the collection.
  • The action performed by the garbage collector.
  • The cause of the garbage collection action.
  • A GcInfo object containing some statistics about the GC cycle (start time, end time) and the memory usage before and after the GC cycle.
public class
GcInfo

Garbage collection information.

public class
VMOption

Information about a VM option including its value and where the value came from which is referred as its origin.