# Uses of Interface
java.lang.management.GarbageCollectorMXBean

Packages that use GarbageCollectorMXBean
Package
Description
com.sun.management
This package contains the JDK's extension to the standard implementation of the `java.lang.management` API and also defines the management interface for some other components of the platform.
java.lang.management
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.

## Uses of GarbageCollectorMXBean in com.sun.management

Subinterfaces of GarbageCollectorMXBean in com.sun.management
Modifier and Type
Interface
Description
`interface`
`GarbageCollectorMXBean`
Platform-specific management interface for a garbage collector which performs collections in cycles.

## Uses of GarbageCollectorMXBean in java.lang.management

Methods in java.lang.management that return types with arguments of type GarbageCollectorMXBean
Modifier and Type
Method
Description
`static List<GarbageCollectorMXBean>`
ManagementFactory.`getGarbageCollectorMXBeans()`
Returns a list of `GarbageCollectorMXBean` objects in the Java virtual machine.