- Java 11 and 12:New Features
- Mala Gupta
- 198字
- 2021-07-02 12:27:08
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.
- 多媒體CAI課件設計與制作導論(第二版)
- MySQL數據庫應用與管理 第2版
- 騰訊iOS測試實踐
- C語言程序設計基礎與實驗指導
- HTML5 Mobile Development Cookbook
- Windows Server 2012 Unified Remote Access Planning and Deployment
- SQL基礎教程(視頻教學版)
- 利用Python進行數據分析(原書第3版)
- Instant Ext.NET Application Development
- Android系統級深入開發
- Developing SSRS Reports for Dynamics AX
- Elasticsearch Essentials
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- 軟件測試技術
- Responsive Web Design with jQuery