Patent ID: 9612757
Date: 2017-04-04
CPC Classifications: G06F

Claim:
1. A method for crash recovery with asynchronous consistent snapshots in persistent memory stores of a processing environment including a user program and infrastructure-maintained data structures, wherein the infrastructure-maintained data structures include a log of updates made to program data structures and a snapshot of the state of the program data structures, the method comprising: writing log entries in the log of updates to a transient memory, wherein the log entries correspond to store instructions and memory management instructions operating on a nonvolatile memory (NVM), and input/output (I/O) operations executed by program instructions of the user program, wherein each of the log entries represents an effect of a corresponding operation in the program instructions; and creating a snapshot in the NVM after a consistent program point based on the log of updates, wherein the snapshot provides a rollback position during restart following a crash and wherein creation of the snapshot comprises creating and maintaining a mapping between addresses of data structures created on NVM by the program instructions and a corresponding state of data structures in the snapshot, wherein the mapping is persistent and resides in the snapshot.