patch applied (ghc): Don't check for swept blocks in -DS.
Simon Marlow
marlowsd at gmail.com
Mon Aug 23 07:44:10 EDT 2010
Sun Jul 18 15:55:26 PDT 2010 Marco T[_\c3_][_\ba_]lio Gontijo e Silva <marcot at marcot.eti.br>
* Don't check for swept blocks in -DS.
The checkHeap function assumed the allocated part of the block contained only
alive objects and slops. This was not true for blocks that are collected using
mark sweep. The code in this patch skip the test for this kind of blocks.
M ./includes/rts/storage/Block.h +2
M ./rts/sm/GC.c +4
M ./rts/sm/Sanity.c -9 +11
M ./rts/sm/Sweep.c +2
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100718225526-a39d8-c14722aa06ae2fa17d48d0b5ae604d4e693faebf.gz
More information about the Cvs-ghc
mailing list