×

Incremental class unloading in a train-algorithm-based garbage collector

  • US 6,529,919 B1
  • Filed: 02/15/2000
  • Issued: 03/04/2003
  • Est. Priority Date: 02/15/2000
  • Status: Active Grant
First Claim
Patent Images

1. A method of garbage collection in which a train-algorithm-managed generation of a garbage-collected heap contains objects located in car sections and is collected in accordance with the train algorithm, in collection cycles for which respective collection sets of the car sections are established, by repeatedly establishing new trains, evacuating from the collection set the objects in the collection set that are referred to from outside the collection set, placing objects thus evacuated into trains containing objects that refer to them, and reclaiming the car sections that remain in the collection set, wherein the method further includes:

  • A) associating proxy objects in the garbage-collected heap with respective external objects outside the garbage-collected heap; and

    B) evacuating from the collection set those of its objects that are referred to by external objects associated with proxy objects not in the collection set, the trains into which the objects thus evacuated are placed when the respective proxy objects are in the train-managed generation being the trains to which the respective proxy objects belong or to which the respective proxy objects are currently destined for evacuation.

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