Changes between Version 9 and Version 10 of Commentary/Rts/Storage/HeapObjects
- Timestamp:
- 12/10/09 05:13:56 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/Storage/HeapObjects
v9 v10 132 132 scattered through the object code, and only the linker knows where. 133 133 134 To 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.134 To find out whether a particular object is dynamic or static, use the [wiki:Commentary/Rts/Storage/HeapAlloced HEAP_ALLOCED()] macro, from [[GhcFile(rts/sm/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. 135 135 136 136 === Dynamic objects ===
