patch applied (ghc): Count allocations more accurately
Simon Marlow
marlowsd at gmail.com
Wed Dec 22 09:41:07 CET 2010
Tue Dec 21 07:29:56 PST 2010 Simon Marlow <marlowsd at gmail.com>
* Count allocations more accurately
The allocation stats (+RTS -s etc.) used to count the slop at the end
of each nursery block (except the last) as allocated space, now we
count the allocated words accurately. This should make allocation
figures more predictable, too.
This has the side effect of reducing the apparent allocations by a
small amount (~1%), so remember to take this into account when looking
at nofib results.
M ./includes/Cmm.h -1 +1
M ./includes/mkDerivedConstants.c -1 +1
M ./includes/rts/storage/GC.h -2 +3
M ./includes/stg/MiscClosures.h -1 +1
M ./rts/Linker.c -1 +1
M ./rts/sm/GC.c -11 +9
M ./rts/sm/Storage.c -30 +33
M ./rts/sm/Storage.h -2 +3
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101221152956-12142-277afe94337d13bbeec03a0f42502802acf56f4d.gz
More information about the Cvs-ghc
mailing list