×

Advancing cars in trains managed by a collector based on the train algorithm

  • US 7,085,790 B2
  • Filed: 12/06/2002
  • Issued: 08/01/2006
  • Est. Priority Date: 12/06/2002
  • Status: Active Grant
First Claim
Patent Images

1. For performing garbage collection, a method comprising:

  • A) providing a computer system that includes memory;

    B) configuring the computer system to act as a garbage collector that;

    i) treats at least a portion of a garbage-collected heap in the computer system'"'"'s memory as divided into car sections;

    ii) searches the car sections for references;

    iii) maintains for each car section a remembered set associated therewith that contains entries representing locations where references have thereby been detected that refer to objects located in that car section;

    iv) imposes upon the car sections a collection order from older to younger;

    v) determines whether a given car section satisfies a set of at least one advancement criterion;

    vi) when a given car section satisfies a set of at least one advancement criterion, advances the given car section in the collection order; and

    vii) collects the car sections in increments in which the garbage collector uses the remembered sets to identify reachable objects and reclaims memory occupied by objects not identified as reachable; and

    C) employing the computer system to execute the garbage collector.

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