×

Garbage collection using nursery regions for new objects in a virtual heap

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

1. A method for garbage collecting a virtual heap for a process executing within a virtual machine executing within a device, the method comprising:

  • providing a store heap for the process, wherein the store heap is comprised in the virtual heap;

    providing an in-memory heap for the process, wherein the in-memory heap comprises a cached portion of the store heap for the process, and wherein the in-memory heap is comprised in the virtual heap;

    the process creating a plurality of objects during execution;

    storing the plurality of objects in a nursery region of the in-memory heap; and

    a garbage collector process performing garbage collection on the virtual heap for the process executing within the virtual machine, wherein said garbage collection removes non-referenced objects from the virtual heap;

    wherein said performing garbage collection on the virtual heap comprises;

    flushing one or more sections of the in-memory heap to the store heap;

    wherein, in said flushing the one or more sections of the in-memory heap to the store heap during said garbage collection, the nursery region is not flushed to the store heap.

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