×

Collection-tick mechanism for a collector based on the train algorithm

  • US 20040111449A1
  • Filed: 12/06/2002
  • Published: 06/10/2004
  • Est. Priority Date: 12/06/2002
  • Status: Active Grant
First Claim
Patent Images

1. For employing a computer system, which includes memory of which at least some is used as a heap for dynamic allocation, to perform as a garbage collector that collects an incrementally collected generation of the heap in collection increments in which the generation is treated as divided into allocation regions, a method comprising repeatedly:

  • A) allocating objects in the generation between increments of collection of the generation;

    B) responding to some allocations of objects in the generation by making a determination of whether the amount of allocation has met a predetermined trigger criterion, the allocation of a given object in the generation causing an evaluation of whether the amount of allocation has met the trigger criterion only when that object is allocated in a new allocation region; and

    C) initiating a collection increment when the amount of allocation is thereby found to meet the trigger criterion.

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