Uses of Class
java.lang.management.MemoryUsage
Packages that use MemoryUsage
Package
Description
OpenJ9 management extensions to java.lang.management.
Extensions of
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 MemoryUsage in com.ibm.lang.management
Methods in com.ibm.lang.management that return MemoryUsageModifier and TypeMethodDescriptionMemoryPoolMXBean.getPreCollectionUsage()
If supported by the virtual machine, returns aMemoryUsage
which encapsulates this memory pool's memory usage before the most recent run of the garbage collector. -
Uses of MemoryUsage in com.sun.management
Methods in com.sun.management that return types with arguments of type MemoryUsageModifier and TypeMethodDescriptionGcInfo.getMemoryUsageAfterGc()
Returns the memory usage of all memory pools at the end of this GC.GcInfo.getMemoryUsageBeforeGc()
Returns the memory usage of all memory pools at the beginning of this GC. -
Uses of MemoryUsage in java.lang.management
Methods in java.lang.management that return MemoryUsageModifier and TypeMethodDescriptionstatic MemoryUsage
MemoryUsage.from
(CompositeData cd) Receives aCompositeData
representing aMemoryUsage
object and attempts to return the rootMemoryUsage
instance.MemoryPoolMXBean.getCollectionUsage()
If supported by the virtual machine, returns aMemoryUsage
which encapsulates this memory pool's memory usage after the most recent run of the garbage collector.MemoryMXBean.getHeapMemoryUsage()
Returns the current memory usage of the heap for both live objects and for objects no longer in use which are awaiting garbage collection.MemoryMXBean.getNonHeapMemoryUsage()
Returns the current non-heap memory usage for the virtual machine.MemoryPoolMXBean.getPeakUsage()
Returns information on the peak usage of the memory pool.MemoryNotificationInfo.getUsage()
Returns an instance ofMemoryUsage
that encapsulates the memory usage of the memory pool that gave rise to this notification at the time the notification was created.MemoryPoolMXBean.getUsage()
Returns the current memory usage of this memory pool as estimated by the virtual machine.Constructors in java.lang.management with parameters of type MemoryUsageModifierConstructorDescriptionMemoryNotificationInfo
(String poolName, MemoryUsage usage, long count) Creates a newMemoryNotificationInfo
instance.