Changes between Version 16 and Version 17 of Commentary/Rts/Storage/HeapObjects
- Timestamp:
- 02/14/12 13:37:18 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/Storage/HeapObjects
v16 v17 24 24 == Heap Objects == 25 25 26 All heap objects have the same basic layout, embodied by the type {{{StgClosure}}} in [ http://darcs.haskell.org/ghc/includes/rts/storage/Closures.h Closures.h]. The diagram below shows the layout of a heap object:26 All heap objects have the same basic layout, embodied by the type {{{StgClosure}}} in [[GhcFile(includes/rts/storage/Closures.h)]]. The diagram below shows the layout of a heap object: 27 27 28 28 [[Image(heap-object.png)]] 29 29 30 A heap object always begins with a ''header'', defined by {{{StgHeader}}} in [ http://darcs.haskell.org/ghc/includes/rts/storage/Closures.h Closures.h]:30 A heap object always begins with a ''header'', defined by {{{StgHeader}}} in [[GhcFile(includes/rts/storage/Closures.h)]]: 31 31 32 32 {{{
