public static List<MemoryPoolMXBean> getMemoryPoolMXBeans ()

Returns a list of MemoryPoolMXBean objects in the Java virtual machine. The Java virtual machine can have one or more memory pools. It may add or remove memory pools during execution.

Returns:  a list of MemoryPoolMXBean objects.