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

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.
主站蜘蛛池模板: 东方市| 仁寿县| 西畴县| 大宁县| 如皋市| 葫芦岛市| 多伦县| 义马市| 拜泉县| 兰坪| 榆树市| 深州市| 雷州市| 武隆县| 武邑县| 丁青县| 招远市| 浦城县| 民丰县| 娱乐| 康定县| 巧家县| 永胜县| 筠连县| 和硕县| 武宁县| 襄汾县| 凤庆县| 海淀区| 华蓥市| 鹤岗市| 安多县| 武宣县| 门头沟区| 磐安县| 蓝山县| 都兰县| 綦江县| 高州市| 平湖市| 古丈县|