×

Method for combining card marking with remembered sets for old area of a memory heap

  • US 6,148,310 A
  • Filed: 08/25/1998
  • Issued: 11/14/2000
  • Est. Priority Date: 08/25/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for garbage collection of memory objects in a memory, the method comprising:

  • (a) partitioning said heap or portion thereof into at least one old and at least one young area;

    (b) associating said at least one old area with cars that form part of said at least one old area, card markings and remembered sets data structure;

    said card markings including, for each card, a card time stamp indicative of a time said card was updated;

    each of said cars including, a respective car time stamp indicative of a time the remembered set of said car was updated;

    (c) identifying all cards that were updated later than the remembered set of a selected one of said cars and in respect of each card thus identified;

    (i) identifying change in pointers that refer from said card to memory object in said selected car and in response to identified change in pointers; and

    (ii) updating the remembered set of said car with the identified pointers; and

    (d) updating the car time stamp associated with said selected car.

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