com.sun.management (Monitoring and Management Interface for the Java Platform )
Keywords: com.sun.management package
Date: 2026-03-29

@Exported

# Package com.sun.management

This package contains Oracle Corporation's platform extension to the implementation of the java.lang.management API and also defines the management interface for some other components for the platform.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DiagnosticCommandMBean | Management interface for the diagnostic commands for the HotSpot Virtual Machine.
  GarbageCollectorMXBean | Platform-specific management interface for a garbage collector which performs collections in cycles.
  HotSpotDiagnosticMXBean | Diagnostic management interface for the HotSpot Virtual Machine.
  OperatingSystemMXBean | Platform-specific management interface for the operating system on which the Java virtual machine is running.
  ThreadMXBean | Platform-specific management interface for the thread system of the Java virtual machine.
  UnixOperatingSystemMXBean | Platform-specific management interface for the Unix operating system on which the Java virtual machine is running.

- Class Summary
  Class | Description
  --- | ---
  GarbageCollectionNotificationInfo | The information about a garbage collection
  GcInfo | Garbage collection information.
  VMOption | Information about a VM option including its value and where the value came from which is referred as its `origin`.

- Enum Summary
  Enum | Description
  --- | ---
  VMOption.Origin | Origin of the value of a VM option.

## Package com.sun.management Description

This package contains Oracle Corporation's platform extension to the implementation of the java.lang.management API and also defines the management interface for some other components for the platform.

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

Since:
  1.5

Copyright © 2003, 2026, Oracle and/or its affiliates. All rights reserved.