Memory Monitoring and Management Platform MBeans
Jump to navigation
Jump to search
External
- http://docs.oracle.com/javase/8/docs/api/java/lang/management/MemoryManagerMXBean.html
- http://docs.oracle.com/javase/8/docs/api/java/lang/management/MemoryPoolMXBean.html
- http://docs.oracle.com/javase/8/docs/api/java/lang/management/BufferPoolMXBean.html
- http://docs.oracle.com/javase/8/docs/api/java/lang/management/GarbageCollectorMXBean.html
Internal
Memory MBean
The Memory MBean implements the MemoryMXBean interface, and exists as a singleton instance in the JVM. The MBean instance is accessible from the platform MBean server, either programmatically by calling ManagementFactory.getMemoryMXBean() method, or by looking up the "java.lang:type=Memory" JMX ObjectName.
The Memory MBean exposes information about the heap and the non-heap memory.