patch applied (ghc): Don't check for swept blocks in -DS.
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:
More information about the Cvs-ghc