Changes between Version 4 and Version 5 of Commentary/Rts/Storage/HeapObjects
- Timestamp:
- 05/08/07 03:59:02 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/Storage/HeapObjects
v4 v5 171 171 * {{{CONSTR_p_n}}}: a constructor whose layout is encoded in the closure type (eg. {{{CONSTR_1_0}}} has one pointer 172 172 and zero non-pointers. Having these closure types speeds up GC a little for common layouts. 173 * {{{CONSTR_INTLIKE}}}, {{{CONSTR_CHARLIKE}}}: special closure types corresponding to types like {{{Int}}} and174 {{{Char}}}. The RTS includes some static instances of these types so that instead of allocating a new {{{Char}}}175 on the heap, we can use the static RTS instance instead and save some heap space. See176 [[GhcFile(rts/StgMiscClosures.cmm)]].177 TODO: No longer in [[GhcFile(includes/ClosureTypes.h)]]. Needs explaination why or removal.178 173 * {{{CONSTR_STATIC}}}: a statically allocated constructor. 179 174 * {{{CONSTR_NOCAF_STATIC}}}: TODO: Needs documentation
