Changes between Version 2 and Version 3 of Commentary/Rts/Storage/CAFs
- Timestamp:
- 10/05/09 16:24:17 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/Storage/CAFs
v2 v3 6 6 7 7 Constant 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.8 To 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. 9 9 10 10 To achieve this, during GC we maintain a linked list of static objects that are still live.
