×

Caching mechanism for a virtual heap

  • US 6,760,815 B1
  • Filed: 06/02/2000
  • Issued: 07/06/2004
  • Est. Priority Date: 06/02/2000
  • Status: Active Grant
First Claim
Patent Images

1. 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.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×