Patent ID: 6760815
Filing Date: 2004-07-06
Classification: G06F,Y10S

Abstract:
A method for managing a virtual heap on a virtual machine executing within a device, the method comprising:executing a process within the virtual machine; providing a virtual heap for the process, wherein the virtual heap comprises a store heap comprising a first plurality of cache lines for storing objects for the process, and wherein the virtual heap further comprises an in-memory heap comprising a second plurality of cache lines for caching objects for access by the process during execution, and wherein the store heap and the in-memory heap are comprised in one memory address space; storing objects for the process executing within the virtual machine to the store heap; the process referencing a first one of the objects for the process; caching a first cache line from the store heap to the in-memory heap in response to the process referencing the first one of the objects for the process, wherein said caching is performed when the first object referenced by the process is in the first cache line of the store heap and not in the in-memory heap when the first object is referenced by the process; and the process accessing the first object in the first cache line in the in-memory heap.