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 Extensions ofjava.lang.management.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 MemoryUsageMemoryPoolMXBean. getPreCollectionUsage()If supported by the virtual machine, returns aMemoryUsagewhich 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 MemoryUsageMemoryUsage. from(CompositeData cd)Receives aCompositeDatarepresenting aMemoryUsageobject and attempts to return the rootMemoryUsageinstance.MemoryUsageMemoryPoolMXBean. getCollectionUsage()If supported by the virtual machine, returns aMemoryUsagewhich encapsulates this memory pool's memory usage after the most recent run of the garbage collector.MemoryUsageMemoryMXBean. 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.MemoryUsageMemoryMXBean. getNonHeapMemoryUsage()Returns the current non-heap memory usage for the virtual machine.MemoryUsageMemoryPoolMXBean. getPeakUsage()Returns information on the peak usage of the memory pool.MemoryUsageMemoryNotificationInfo. getUsage()Returns an instance ofMemoryUsagethat encapsulates the memory usage of the memory pool that gave rise to this notification at the time the notification was created.MemoryUsageMemoryPoolMXBean. 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 newMemoryNotificationInfoinstance.
-