Object persistency
First Claim
Patent Images
1. A method for object persistency, comprising:
- running, using a processor of a computer system, a program;
setting a transaction indicator to indicate whether an object of the running program belongs to a transaction process;
in response to determining that the object is a non-persistent object and that the transaction indicator indicates that the object does not belong to a transaction process,moving the object into a random access memory; and
performing a clearing process; and
in response to determining that the object is a persistent object, storing the object into a phase change memory.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided a method and computer system for object persistency that includes: running 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. The method and computer system of the present disclosure do not need separate persistency layers, such that the programming model is light weighted, the persistency of object data is more simple and fast, and implicit transaction process is supported, thereby a great deal of development and runtime costs are saved.
-
Citations
14 Claims
-
1. A method for object persistency, comprising:
-
running, using a processor of a computer system, a program; setting a transaction indicator to indicate whether an object of the running program belongs to a transaction process; in response to determining that the object is a non-persistent object and that the transaction indicator indicates that the object does not belong to a transaction process, moving the object into a random access memory; and performing a clearing process; and in response to determining that the object is a persistent object, storing the object into a phase change memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system, comprising:
-
a processor that processes an object of a running program; a transaction indicator that is set to indicate whether the object belongs to a transaction process; a random access memory coupled to the processor, wherein the object is moved into the random access memory in response to the processor determining that the object is a non-persistent object and that the transaction indicator indicates that the object does not belong to a transaction process; a phase change memory coupled to the processor, wherein the phase change memory stores the object in response to the processor determining that the object is a persistent object; and an object collector that moves the object to the random access memory and performs a clearing process. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification