摘要:
An improved method, apparatus, and computer instructions for a method in a data processing system for managing versioning data in a heap. A versioning data structure for an object in the heap is located, wherein the versioning data structure is used to store changes in data for the object and wherein the object is associated with the versioning data structure. A determination is made as to whether versioning data in the versioning data structure exceeds a threshold. The versioning data is removed from the heap in response to the versioning data exceeding the threshold.
摘要:
A method, apparatus, and computer instructions for marking data versioning for code. Responsive to receiving an application programming interface call, a first marking statement in the code and a second marking statement are inserted in the code. A portion of code between the first marking statement and the second marking statement forms a marked section of code. A change made in data in an object caused by execution of the marked portion of code is detected. The detected change is tracked in manner such that the object may be restored to a prior state.
摘要:
A computer implemented method, apparatus, and computer usable code for managing versioning data for objects in a virtual machine. A request to allocate an object is received, wherein the request identifies a plurality of parameters for classifying the object. An entry for the object is created in a versioning data structure using the plurality of parameters received in the request. The versioning data structure is used to store delta data for change in the data for the object and wherein the object is associated with the data structure. When a change in the data for the object occurs, the delta data is stored in the versioning data structure based on the plurality of parameters. A particular version of the object may be retrieved using the plurality of parameters.
摘要:
An improved method, apparatus, and computer instructions for receiving a call to create a version. State information for at least one of the device driver and a device associated with the device driver is identified to form identified state information in response to receiving the call, the identified state information is stored in association with a version identifier.
摘要:
An improved method, apparatus, and computer instructions for managing a heap. Live objects in portions of space in the heap are marked in response to a request to reclaim space in the heap. The portions of space are moved into a virtual memory in response to marking the live objects. The old objects are removed from the portions of space in the heap in the virtual memory.
摘要:
A method, apparatus, and computer instructions for managing versioning data for a state between a first virtual machine on a data processing system and a second virtual machine on a remote data processing system. Versioning information is stored in response to a request to generate a version in the first virtual machine. A request is sent to the second virtual machine for the second virtual machine to generate a corresponding version. The version and the corresponding version are used to restore the first virtual machine and the second virtual machine to the prior state. The prior state in the first virtual machine is restored using the stored version when a subsequent request is received to restore the prior state. A subsequent request is sent to the second virtual machine. This request requests restoring the prior state for the second virtual machine using the corresponding version.
摘要:
An improved method, apparatus, and computer instructions for writing a page of data in response to receiving a request to write the page in the paged memory system. Creating a version of the page of data in response to receiving the request to write the page in the paged memory system, and associating a version identifier with the version of the page.
摘要:
An improved method, apparatus, and computer instructions for an operating system in a data processing system for managing versioning data. An infrastructure for providing an undo function receives a call from an application layer through an application programming interface to create a version of data. The data is stored in a data store to create the version of the data. An index is associated with the version of the data in the data store. The data is restored through another call using the application programming interface.
摘要:
A method, apparatus, and computer instructions for managing versioning data for memory segments. Responsive to a request from a requester to allocate a memory segment, the memory segment is allocated. A versioning data structure is created for the memory segment. The versioning data structure is used to store changes in data for the memory segment, and the memory segment includes a pointer to the versioning data structure. When a change in the data is detected for the memory segment, wherein the change in the data forms the delta data. Responsive to detecting the change in the data for the memory segment, the delta data is stored in the versioning data structure, wherein the versioning data structure is used to return the data in the memory segment to a prior state.
摘要:
A method, apparatus, and computer instructions for managing data. Responsive to a request for a data element from an application in the virtual machine, the data element is allocated to the application. The data element having a number of dimensions for storing application data for the application. A data structure is created to store versioning data for the data element in response to the data structure including an extra dimension to identify the versioning data. Application data is stored from the data element in response to an event. All application data is restored to a requested state using the data structure in response to a user request from a user interface to restore the data in the virtual machine to a prior state.