×

Method and apparatus for performing generational garbage collection using barrier bits

  • US 6,510,440 B1
  • Filed: 01/10/2000
  • Issued: 01/21/2003
  • 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 and a second set of objects distinct from said first set of objects, wherein the computer system further includes a remembered 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:

  • storing the remembered set from the last reclamation operation;

    storing a table of entries between each reclamation operation, wherein each entry identifies a given object that belongs to said first set of objects and includes an object reference that has been modified since the last reclamation operation;

    selecting from the table at least one entry corresponding to an object, O; and

    updating the remembered set to identify the object, O, corresponding to the selected at least one entry, and storing the updated remembered set for the next reclamation operation.

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