Last modified on 24 December 2008, at 19:29

Memory Management/Cooperative GC

Cooperative CollectorsEdit

Cooperative collectors are collectors that require the rest of the system to participate in the collector's operation, such as with reference counting. These collectors spread the bookkeeping effort throughout the system and don't require a separate mark or sweep phase. These separate GC phases often require the rest of the program to come to a complete stop temporarily, which can create intolerable pauses in program operation. Cooperative collectors don't have these pauses.

Naive Reference CountingEdit

Delayed Reference CountingEdit

CyclesEdit