官术网_书友最值得收藏!

Heap allocation on alternative memory devices

When JVM exhausts its heap memory, your application crashes with OutOfMemoryException. Imagine if you could configure your JVM to use an alternate memory device, like a non-volatile dual in-line memory module (NV-DIMM). 

With the ever-increasing memory demands of applications that deal with large amounts of data, and with the availability of low-cost NV-DIMM memory, the ability to use alternate memory devices for heap allocations is bliss. It also leads to systems that work with heterogeneous memory architectures.

This enhancement targets alternative memory devices that have the same semantics as Dynamic Random Access Memory (DRAM), so that they can be used instead of DRAM, without requiring any changes to the existing application code. All of the other memory structures, such as the stack, code heap, and so on, will continue to use DRAM.

A quick detail before we move forward—NV-DIMM has higher access latency compared to DRAM. But NV-DIMM has a larger capacity at a lower cost compared to DRAM. So, the low-priority processes can use NV-DIMM, whereas the high-priority processes can use DRAM memory.

Heap allocation is a JVM implementation detail that can't be used directly by developers.
主站蜘蛛池模板: 中西区| 静乐县| 衡东县| 六枝特区| 五寨县| 英吉沙县| 伊宁市| 海门市| 龙海市| 兴宁市| 收藏| 潜山县| 沈阳市| 常宁市| 天等县| 武乡县| 富锦市| 繁昌县| 衢州市| 德昌县| 松阳县| 大余县| 紫金县| 马尔康县| 郧西县| 株洲市| 乐东| 兰考县| 崇文区| 剑河县| 叙永县| 容城县| 贵溪市| 武川县| 荣昌县| 济阳县| 安图县| 资源县| 赣榆县| 邢台市| 余姚市|