java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | java.lang.management.MemoryType |
Types of memory pools
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MemoryType | HEAP | Heap memory type. | |||||||||
MemoryType | NON_HEAP | Non-heap memory type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the string representation of this MemoryType.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Heap memory type.
The Java virtual machine has a heap that is the runtime data area from which memory for all class instances and arrays are allocated.
Non-heap memory type.
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.
Returns the string representation of this MemoryType.