Uses of Class
java.lang.management.MemoryUsage
-
Packages that use MemoryUsage Package Description com.ibm.lang.management OpenJ9 management extensions to java.lang.management.com.sun.management This package contains the JDK's extension to the standard implementation of thejava.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 MemoryUsage in com.ibm.lang.management
Methods in com.ibm.lang.management that return MemoryUsage Modifier and Type Method Description MemoryUsage
MemoryPoolMXBean. 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 MemoryUsage Modifier and Type Method Description Map<String,MemoryUsage>
GcInfo. getMemoryUsageAfterGc()
Returns the memory usage of all memory pools at the end of this GC.Map<String,MemoryUsage>
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 MemoryUsage Modifier and Type Method Description static MemoryUsage
MemoryUsage. from(CompositeData cd)
Receives aCompositeData
representing aMemoryUsage
object and attempts to return the rootMemoryUsage
instance.MemoryUsage
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.MemoryUsage
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.MemoryUsage
MemoryMXBean. getNonHeapMemoryUsage()
Returns the current non-heap memory usage for the virtual machine.MemoryUsage
MemoryPoolMXBean. getPeakUsage()
Returns information on the peak usage of the memory pool.MemoryUsage
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.MemoryUsage
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 MemoryUsage Constructor Description MemoryNotificationInfo(String poolName, MemoryUsage usage, long count)
Creates a newMemoryNotificationInfo
instance.
-