1. A computer-implemented method for providing consistency of data stored in persistent memory, the method comprising: committing, by a processing device, a transaction in cache, the committing including marking an end of an atomic operation on a modified object from the transaction, creating a new copy of the modified object and storing a mapping of the modified object to the new copy of the modified object in a recorded log; calculating a checksum that identifies the modified object and storing the checksum in the recorded log; and hardening the transaction, the hardening including storing the modified object and the recorded log from the cache into persistent memory.