Changes between Version 2 and Version 3 of Commentary/Rts/Storage/CAFs


Ignore:
Timestamp:
Oct 5, 2009 11:24:17 PM (5 years ago)
Author:
diatchki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/Storage/CAFs

    v2 v3  
    66 
    77Constant Applicative Forms, or CAFs for short, are top-level values defined in a program.  
    8 To avoid memory leaks cause by CAFs we need to detect when all values/functions that could potentially refer to a CAF are gone, and so it is safe to deallocate the CAF.   
     8To avoid memory leaks caused by CAFs we need to detect when all values/functions that could potentially refer to a CAF are gone, and so it is safe to deallocate the CAF.   
    99 
    1010To achieve this, during GC we maintain a linked list of static objects that are still live.