×

Method and apparatus for performing generational garbage collection using remembered set counter

  • US 6,226,653 B1
  • Filed: 01/10/2000
  • Issued: 05/01/2001
  • Est. Priority Date: 01/10/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system comprising a heap that stores a plurality of objects that are logically partitioned into at least a first set of objects that have each survived at least a predetermined number N of reclamation operations and a second set of objects distinct from said first set of objects, wherein the computer system further includes a remembered set identifying objects in the first set, and wherein the computer system performs a plurality of reclamation operations that use the remembered set to reclaim space in the heap, a method for maintaining the remembered set comprising the steps of:

  • identifying objects that include an object reference that has been modified since the last reclamation operation;

    updating the remembered set to include an entry for said identified objects, wherein each entry in said remembered set has an associated counter, C, indicating said reclamation operation when said entry was created; and

    storing the updated remembered set for the next reclamation operation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×