nv-heaps · research · also Non-volatile Memory Heaps

NV-Heaps

NV-Heaps is a persistent-object system combining transactions, managed allocation and checked pointers within independently mapped nonvolatile heaps.

Scope: The ASPLOS 2011 design exposes persistent objects through a mapped heap and a root reference. Its safety layer distinguishes object lifetime from retaining bytes. [1]

References: Assignments may refer within one persistent heap or from volatile memory into it. Persistent-to-volatile and cross-heap persistent pointers are rejected using heap identities. Relative addressing supports relocation, not arbitrary cross-heap ownership. [1] [2]

Collection: Strong references keep objects alive. Cycles require weak links that do not increase reference counts; proxies nullify weak links when their targets die. The implementation keeps mapped heaps open until program exit to avoid dangling volatile references. [1]

Transactions: Object-level undo logs restore interrupted updates. Accessors must be used without unsafe casts; shared volatile state is outside transaction isolation. [1]

Example: Removing the root of a two-object strong cycle leaves both reference counts positive. Making its back edge weak permits collection. The linked executable example separates this graph property from crash recovery. [3]

Relations

related
Persistent memory, Crash consistency, Epoch persistency, Stasis, BPFS, Mnemosyne

Advantages

  • Self-contained heaps can be relocated without rebuilding every internal address. [2]

Limitations

  • Reference counting does not automatically reclaim strong cycles. [2]
  • The paper's recovery tests used SIGKILL, while memory-technology performance used emulation; neither establishes physical power-loss behavior. [1]

Citations

  1. Coburn et al. NV-Heaps: Making Persistent Objects Fast and Safe with Next-Generation, Non-Volatile Memories. ASPLOS 2011, sections 2-5. (accessed 2026-12-05)
  2. Joel Coburn. NV-Heaps. SNIA Storage Developer Conference 2013, slides 18-22: relocation, reference counting and transactions. (accessed 2026-12-05)
  3. Hesela: Persistent pointer boundaries and reference-count cycles. Executable synthetic example and tests. (accessed 2026-12-05)
Sources & caveats
  • Full ASPLOS 2011 paper reviewed for sections 2.3, 3.4-3.7 and 4-5; author presentation cross-checks the pointer, collection and transaction layers.
  • This is a historical research design, not a guarantee supplied by generic persistent memory or a current production runtime.
  • The linked example is an original finite graph model. It does not execute NV-Heaps, emulate its allocator or reproduce crash tests and performance measurements.

JSON: /data/terms/nv-heaps.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. NV-Heaps. Hesela. 2026-12-05. https://hesela.dev/terms/nv-heaps/