Changes between Version 4 and Version 5 of Commentary/Rts/Storage/HeapObjects


Ignore:
Timestamp:
May 8, 2007 10:59:02 AM (7 years ago)
Author:
guest
Comment:

Removed notes on non-existant CONSTR_INTLIKE and CONSTR_CHARLIKE

Legend:

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

    v4 v5  
    171171 * {{{CONSTR_p_n}}}: a constructor whose layout is encoded in the closure type (eg. {{{CONSTR_1_0}}} has one pointer 
    172172   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}}} and 
    174    {{{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.  See     
    176    [[GhcFile(rts/StgMiscClosures.cmm)]]. 
    177    TODO: No longer in [[GhcFile(includes/ClosureTypes.h)]].  Needs explaination why or removal. 
    178173 * {{{CONSTR_STATIC}}}: a statically allocated constructor. 
    179174 * {{{CONSTR_NOCAF_STATIC}}}: TODO: Needs documentation