logo

Heap Allocation


Show

JEP 316 - Heap Allocation on Alternative Memory Devices

With this improvement in Java 10, Now users can identify a different memory device, such as NV-DIMM to HotSpot VM to assign the java heap space. Users want to proceed a path to the file system making use of a new option -XX:AllocateHeapAt.

-XX:AllocateHeapAt=~/etc/heap

This option gets hold of a file path and does a memory mapping to get the desired result. And Other heap flags such as -Xmx, -Xms carry on with work.