java.lang.management.MemoryType| Method Summary | ||
| toString() Returns the string representation of this MemoryType. |
||
static MemoryType |
valueOf(String name) | |
static MemoryType[] |
values() | |
| Methods inherited from class java.lang.Enum |
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
The Java virtual machine has a heap that is the runtime data area from which memory for all class instances and arrays are allocated.
The Java virtual machine manages memory other than the heap (referred as non-heap memory). The non-heap memory includes the method area and memory required for the internal processing or optimization for the Java virtual machine. It stores per-class structures such as a runtime constant pool, field and method data, and the code for methods and constructors.