Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Allowing persistent containers to be stored in volatile memory. #276

Open
igchor opened this issue Mar 26, 2019 · 0 comments
Open

Allowing persistent containers to be stored in volatile memory. #276

igchor opened this issue Mar 26, 2019 · 0 comments
Labels
Priority: 4 low Type: Feature New feature or request Type: Question Further information is requested

Comments

@igchor
Copy link
Contributor

igchor commented Mar 26, 2019

Currently, persistent vector, array and string are not allowed on volatile memory (including stack). This makes it impossible to pass/return those containers by value. This limitation was introduced to decrease possibility of a persistent memory leak. Persistent containers always allocate from pmem so if a crash would occur before the container is moved to persistent memory we would have no way to access memory which was managed by the container.

@igchor igchor added the Type: Feature New feature or request label Mar 26, 2019
@karczex karczex added Priority: 4 low Type: Question Further information is requested labels Jul 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Priority: 4 low Type: Feature New feature or request Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants