Adaptive type-partitioned garbage collection

A collector for collecting non-referenced objects stored in a heap by a program while the program is executing in a computer system is presented. A sample and partition routine in the collector partitions the heap into cold space and hot space. The sample and partition routine defines hot space obje...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Rohrs, Christopher Henry
Format: Patent
Sprache:eng
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A collector for collecting non-referenced objects stored in a heap by a program while the program is executing in a computer system is presented. A sample and partition routine in the collector partitions the heap into cold space and hot space. The sample and partition routine defines hot space objects and cold space objects. After the heap has been partitioned, an object allocation routine in the collector stores hot space objects in hot space and cold space objects in cold space. A collection routine in the collector searches hot space for referenced objects and reclaims non-referenced objects stored in hot space. Upon determining that hot space is full, the collection routine searches cold space and hot space for referenced objects and moves referenced objects stored in hot space to cold space.