Patent ID: 6854115

Claim:
A method for checkpointing processes on a virtual machine executing within a device, the method comprising: executing a process within the virtual machine, wherein the virtual machine comprises a virtual machine virtual memory manager; wherein said executing the process comprises: the process referencing an object in a virtual heap during execution; wherein the virtual heap comprises an in-memory heap and a store heap; wherein, if the referenced object is in the store heap and not in the in-memory heap when referenced by the process, the virtual machine virtual memory manager copying a section of the store heap comprising the referenced object from the store heap to the in-memory heap; the process accessing the referenced object in the in-memory heap; and checkpointing a state of the process executing on the virtual machine to a first memory space, wherein said checkpointing comprises the virtual machine virtual memory manager flushing one or more sections of the in-memory heap to the store heap.