×

System and method for performing garbage collection on a large heap

  • US 20050235120A1
  • Filed: 04/15/2004
  • Published: 10/20/2005
  • Est. Priority Date: 04/15/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable medium having computer-executable instructions for performing ephemeral garbage collection, the instructions comprising:

  • obtaining a list of memory locations that have been written into since the last ephemeral garbage collection, each memory location corresponding to one of a plurality of addresses for accessing a card table that identifies marked cards, the marked cards being associated with one or more objects allocated from within a memory heap, the memory heap being divided into a plurality of cards which are grouped into a plurality of bundles, each marked card being one of the plurality of cards;

    identifying at least one marked bundle out of the plurality of bundles based on the list;

    for each marked bundle, determining the marked cards within the marked bundle;

    for each marked card, determining at least one accessed object within the marked card; and

    performing garbage collection upon the at least one accessed object.

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