Class: sun.management.MemoryManagerImpl
- class MemoryManagerImpl
- implements MemoryManagerMXBean
Implementation class for a memory manager.
Standard and committed hotspot-specific metrics if any.
ManagementFactory.getMemoryManagerMXBeans() returns a list
of instances of this class.
Methods
-
MemoryManagerImpltop
MemoryManagerImpl(String name) -
getMemoryPoolNamestop
public String[] getMemoryPoolNames()Returns the name of memory pools that this memory manager manages.- Specified by:
- getMemoryPoolNames from MemoryManagerMXBean
-
getMemoryPoolstop
synchronized MemoryPoolMXBean[] getMemoryPools() -
getMemoryPools0top
native private MemoryPoolMXBean[] getMemoryPools0() -
getNametop
public String getName()Returns the name representing this memory manager.- Specified by:
- getName from MemoryManagerMXBean
-
isValidtop
public boolean isValid()Tests if this memory manager is valid in the Java virtual machine. A memory manager becomes invalid once the Java virtual machine removes it from the memory system.- Specified by:
- isValid from MemoryManagerMXBean
Fields
-
isValid
final private boolean isValid -
name
final private String name -
pools
private MemoryPoolMXBean[] pools
