memory pools.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final MemoryType | HEAP
Heap memory type. |
| public static final MemoryType | NON_HEAP
Non-heap memory type. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the string representation of thisMemoryType.Overrides java. Returns the string representation of this |
| public static MemoryType | |
| public static MemoryType[] |
| description | back to summary |
|---|---|
| private final String description | |
| HEAP | back to summary |
|---|---|
| public static final MemoryType HEAP 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 | back to summary |
|---|---|
| public static final MemoryType NON_HEAP 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. | |
| MemoryType | back to summary |
|---|---|
| private MemoryType(String s) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation of this
| |
| valueOf | back to summary |
|---|---|
| public static MemoryType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MemoryType[] values() | |