Changes between Version 16 and Version 17 of Commentary/Rts/HeapObjects


Ignore:
Timestamp:
Oct 17, 2006 1:33:55 PM (9 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/HeapObjects

    v16 v17  
    130130   scattered through the object code, and only the linker knows where.
    131131
    132 To find out whether a particular object is dynamic or static, use the {{{HEAP_ALLOCED()}}} macro, from [[GhcFile(rts/MBlock.h)]].
     132To find out whether a particular object is dynamic or static, use the {{{HEAP_ALLOCED()}}} macro, from [[GhcFile(rts/MBlock.h)]].  This macro works by consulting a bitmap (or structured bitmap) that tells for each [wiki:Commentary/Rts/Storage#Structureofblocks megablock] of memory whether it is part of the dynamic heap or not.
    133133
    134134=== Dynamic objects ===