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

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.
主站蜘蛛池模板: 镇沅| 全州县| 清镇市| 德令哈市| 栾川县| 鹿邑县| 松滋市| 吴旗县| 青神县| 赤峰市| 虹口区| 北京市| 武定县| 龙岩市| 通化市| 宁武县| 肥城市| 隆化县| 肇源县| 儋州市| 荥阳市| 南皮县| 民县| 广宗县| 墨玉县| 蒲江县| 内黄县| 蕲春县| 清镇市| 高尔夫| 孟津县| 公主岭市| 砀山县| 贡嘎县| 潞西市| 青铜峡市| 东乌珠穆沁旗| 云安县| 洛浦县| 西吉县| 绵竹市|