Collection-tick mechanism for a collector based on the train algorithm
AssigneeSun Microsystems, Inc.
InventorAlexander T. Garthwaite
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorAlexander T. Garthwaite
Estimating the term…
A garbage collector employs the train algorithm to collect a generation in a dynamically allocated heap. When direct allocation of an object into the generation results in the need to allocate a new car section, the collector makes a determination of whether a new collection increment or interval needs to be initiated. It makes this determination by comparing the amount of new allocation in that generation with a threshold value. During each collection increment, it updates the threshold value by determining how much can occur during the next collection increment without exceeding an allowable pause time. It then projects from that value how much memory-space reclamation is likely to occur. From that likely amount of reclamation, it arrives at a limit on the permitted amount of allocation.
A method 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:
A method for employing a computer system, which includes memory of which at least some is used as a heap for dynamic allocation, to perform garbage collection on an incrementally collected generation of the heap in collection increments in which respective collection sets are collected, a method comprising:
A computer system comprising:
A computer system comprising:
A storage medium containing instructions readable by processor circuitry in a computer system including memory to configure the processor circuitry to:
A storage medium containing instructions readable by processor circuitry in a computer system that also includes memory to configure the processor circuitry to:
Dependencies are inferred from the claim text.