1. A method for object persistency, comprising: running, using a processor of a computer system, a program; storing an object of the program into a random access memory in response to determining that the object is a non-persistent object; and storing the object into a phase change memory in response to determining that the object is a persistent object.