Uses of Class
java.lang.management.MemoryUsage
Package
Description
This package contains JDK extensions to the standard implementation of
the
java.lang.management
API and also defines the management
interface for some other components of the platform.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.sun.management
Modifier 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
Modifier and TypeMethodDescriptionstatic MemoryUsage
MemoryUsage.from
(CompositeData cd) Returns aMemoryUsage
object represented by the givenCompositeData
.MemoryPoolMXBean.getCollectionUsage()
Returns the memory usage after the Java virtual machine most recently expended effort in recycling unused objects in this memory pool.MemoryMXBean.getHeapMemoryUsage()
Returns the current memory usage of the heap that is used for object allocation.MemoryMXBean.getNonHeapMemoryUsage()
Returns the current memory usage of non-heap memory that is used by the Java virtual machine.MemoryPoolMXBean.getPeakUsage()
Returns the peak memory usage of this memory pool since the Java virtual machine was started or since the peak was reset.MemoryNotificationInfo.getUsage()
Returns the memory usage of the memory pool when this notification was constructed.MemoryPoolMXBean.getUsage()
Returns an estimate of the memory usage of this memory pool.ModifierConstructorDescriptionMemoryNotificationInfo
(String poolName, MemoryUsage usage, long count) Constructs aMemoryNotificationInfo
object.