C D E F G H I M O P R S T U V

## C

com.sun.management - 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.
containsKey(String) - Method in class com.sun.management.GcInfo
containsValue(Object) - Method in class com.sun.management.GcInfo

## D

DiagnosticCommandMBean - Interface in com.sun.management
  Management interface for the diagnostic commands for the HotSpot Virtual Machine.
dumpHeap(String, boolean) - Method in interface com.sun.management.HotSpotDiagnosticMXBean
  Dumps the heap to the `outputFile` file in the same format as the hprof heap dump.

## E

equals(Object) - Method in class com.sun.management.GcInfo

## F

from(CompositeData) - Static method in class com.sun.management.GarbageCollectionNotificationInfo
  Returns a `GarbageCollectionNotificationInfo` object represented by the given `CompositeData`.
from(CompositeData) - Static method in class com.sun.management.GcInfo
  Returns a `GcInfo` object represented by the given `CompositeData`.
from(CompositeData) - Static method in class com.sun.management.VMOption
  Returns a `VMOption` object represented by the given `CompositeData`.

## G

GARBAGE_COLLECTION_NOTIFICATION - Static variable in class com.sun.management.GarbageCollectionNotificationInfo
  Notification type denoting that the Java virtual machine has completed a garbage collection cycle.
GarbageCollectionNotificationInfo - Class in com.sun.management
  The information about a garbage collection
GarbageCollectionNotificationInfo(String, String, String, GcInfo) - Constructor for class com.sun.management.GarbageCollectionNotificationInfo
  Constructs a `GarbageCollectionNotificationInfo` object.
GarbageCollectorMXBean - Interface in com.sun.management
  Platform-specific management interface for a garbage collector which performs collections in cycles.
GcInfo - Class in com.sun.management
  Garbage collection information.
get(String) - Method in class com.sun.management.GcInfo
getAll(String[]) - Method in class com.sun.management.GcInfo
getCommittedVirtualMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes, or `-1` if this operation is not supported.
getCompositeType() - Method in class com.sun.management.GcInfo
getDiagnosticOptions() - Method in interface com.sun.management.HotSpotDiagnosticMXBean
  Returns a list of `VMOption` objects for all diagnostic options.
getDuration() - Method in class com.sun.management.GcInfo
  Returns the elapsed time of this GC in milliseconds.
getEndTime() - Method in class com.sun.management.GcInfo
  Returns the end time of this GC in milliseconds since the Java virtual machine was started.
getFreePhysicalMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the amount of free physical memory in bytes.
getFreeSwapSpaceSize() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the amount of free swap space in bytes.
getGcAction() - Method in class com.sun.management.GarbageCollectionNotificationInfo
  Returns the action of the performed by the garbage collector
getGcCause() - Method in class com.sun.management.GarbageCollectionNotificationInfo
  Returns the cause the garbage collection
getGcInfo() - Method in class com.sun.management.GarbageCollectionNotificationInfo
  Returns the GC information related to the last garbage collection
getGcName() - Method in class com.sun.management.GarbageCollectionNotificationInfo
  Returns the name of the garbage collector used to perform the collection
getId() - Method in class com.sun.management.GcInfo
  Returns the identifier of this garbage collection which is the number of collections that this collector has done.
getLastGcInfo() - Method in interface com.sun.management.GarbageCollectorMXBean
  Returns the GC information about the most recent GC.
getMaxFileDescriptorCount() - Method in interface com.sun.management.UnixOperatingSystemMXBean
  Returns the maximum number of file descriptors.
getMemoryUsageAfterGc() - Method in class com.sun.management.GcInfo
  Returns the memory usage of all memory pools at the end of this GC.
getMemoryUsageBeforeGc() - Method in class com.sun.management.GcInfo
  Returns the memory usage of all memory pools at the beginning of this GC.
getName() - Method in class com.sun.management.VMOption
  Returns the name of this VM option.
getOpenFileDescriptorCount() - Method in interface com.sun.management.UnixOperatingSystemMXBean
  Returns the number of open file descriptors.
getOrigin() - Method in class com.sun.management.VMOption
  Returns the origin of the value of this VM option.
getProcessCpuLoad() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the "recent cpu usage" for the Java Virtual Machine process.
getProcessCpuTime() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the CPU time used by the process on which the Java virtual machine is running in nanoseconds.
getStartTime() - Method in class com.sun.management.GcInfo
  Returns the start time of this GC in milliseconds since the Java virtual machine was started.
getSystemCpuLoad() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the "recent cpu usage" for the whole system.
getThreadAllocatedBytes(long) - Method in interface com.sun.management.ThreadMXBean
  Returns an approximation of the total amount of memory, in bytes, allocated in heap memory for the thread of the specified ID.
getThreadAllocatedBytes(long[]) - Method in interface com.sun.management.ThreadMXBean
  Returns an approximation of the total amount of memory, in bytes, allocated in heap memory for each thread whose ID is in the input array `ids`.
getThreadCpuTime(long[]) - Method in interface com.sun.management.ThreadMXBean
  Returns the total CPU time for each thread whose ID is in the input array `ids` in nanoseconds.
getThreadUserTime(long[]) - Method in interface com.sun.management.ThreadMXBean
  Returns the CPU time that each thread whose ID is in the input array `ids` has executed in user mode in nanoseconds.
getTotalPhysicalMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the total amount of physical memory in bytes.
getTotalSwapSpaceSize() - Method in interface com.sun.management.OperatingSystemMXBean
  Returns the total amount of swap space in bytes.
getValue() - Method in class com.sun.management.VMOption
  Returns the value of this VM option at the time when this `VMOption` was created.
getVMOption(String) - Method in interface com.sun.management.HotSpotDiagnosticMXBean
  Returns a `VMOption` object for a VM option of the given name.

## H

hashCode() - Method in class com.sun.management.GcInfo
HotSpotDiagnosticMXBean - Interface in com.sun.management
  Diagnostic management interface for the HotSpot Virtual Machine.

## I

isThreadAllocatedMemoryEnabled() - Method in interface com.sun.management.ThreadMXBean
  Tests if thread memory allocation measurement is enabled.
isThreadAllocatedMemorySupported() - Method in interface com.sun.management.ThreadMXBean
  Tests if the Java virtual machine implementation supports thread memory allocation measurement.
isWriteable() - Method in class com.sun.management.VMOption
  Tests if this VM option is writeable.

## M

MissionControl - Class in com.sun.management
  Implementation class for the `MissionControlMXBean`.
MissionControl() - Constructor for class com.sun.management.MissionControl
  Default constructor.
MissionControlMXBean - Interface in com.sun.management
  Oracle internal management interface for Java Mission Control.

## O

OperatingSystemMXBean - Interface in com.sun.management
  Platform-specific management interface for the operating system on which the Java virtual machine is running.

## P

preRegister(MBeanServer, ObjectName) - Method in class com.sun.management.MissionControl

## R

registerMBeans() - Method in class com.sun.management.MissionControl
registerMBeans() - Method in interface com.sun.management.MissionControlMXBean
  Register all Mission Control related MBeans/MXBeans with the MBean server.

## S

setThreadAllocatedMemoryEnabled(boolean) - Method in interface com.sun.management.ThreadMXBean
  Enables or disables thread memory allocation measurement.
setVMOption(String, String) - Method in interface com.sun.management.HotSpotDiagnosticMXBean
  Sets a VM option of the given name to the specified value.

## T

ThreadMXBean - Interface in com.sun.management
  Platform-specific management interface for the thread system of the Java virtual machine.
toCompositeData(CompositeType) - Method in class com.sun.management.GarbageCollectionNotificationInfo
toCompositeData(CompositeType) - Method in class com.sun.management.GcInfo
  Return the `CompositeData` representation of this `GcInfo`, including any GC-specific attributes.
toString() - Method in class com.sun.management.GcInfo
toString() - Method in class com.sun.management.VMOption

## U

UnixOperatingSystemMXBean - Interface in com.sun.management
  Platform-specific management interface for the Unix operating system on which the Java virtual machine is running.
unregisterMBeans() - Method in class com.sun.management.MissionControl
unregisterMBeans() - Method in interface com.sun.management.MissionControlMXBean
  Unregister all Mission Control related MBeans/MXBeans from the MBean server.

## V

valueOf(String) - Static method in enum com.sun.management.VMOption.Origin
  Returns the enum constant of this type with the specified name.
values() - Method in class com.sun.management.GcInfo
values() - Static method in enum com.sun.management.VMOption.Origin
  Returns an array containing the constants of this enum type, in the order they are declared.
VMOption - Class in com.sun.management
  Information about a VM option including its value and where the value came from which is referred as its `origin`.
VMOption(String, String, boolean, VMOption.Origin) - Constructor for class com.sun.management.VMOption
  Constructs a `VMOption`.
VMOption.Origin - Enum in com.sun.management
  Origin of the value of a VM option.

C D E F G H I M O P R S T U V

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