Changes between Version 21 and Version 22 of Commentary/Rts/Storage/HeapObjects
- Timestamp:
- 03/07/13 20:15:57 (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/Storage/HeapObjects
v21 v22 442 442 * [[GhcFile(rts/Linker.c)]]: Add your info tables so they are linked correctly 443 443 * [[GhcFile(rts/Printer.c)]]: Print out a description of the closure. You need to handle all of the info tables you defined. 444 * [[GhcFile(rts/StgMiscClosures.cmm)]]: Actually define the info tables for your objects, also, provide entry points if they represent runnable code 444 * [[GhcFile(rts/StgMiscClosures.cmm)]]: Actually define the info tables for your objects, also, provide entry points if they represent runnable code. To find out what {{{INFO_TABLE}}} and all its variants do, check the C-- parser at [[GhcFile(compiler/cmm/CmmParse.y)]] 445 445 * [[GhcFile(rts/sm/Sanity.c)]]: Update sanity checks so they know about your new closure type 446 446 * [[GhcFile(rts/sm/Scav.c)]], [[GhcFile(rts/sm/Evac.c)]], [[GhcFile(rts/sm/Compact.c)]]: teach the garbage collector how to follow live pointers from your object.
