patch applied (ghc): GC refactoring and cleanup

Simon Marlow marlowsd at gmail.com
Thu Feb 3 10:06:06 CET 2011


Wed Feb  2 07:49:55 PST 2011  Simon Marlow <marlowsd at gmail.com>
  * GC refactoring and cleanup
  Now we keep any partially-full blocks in the gc_thread[] structs after
  each GC, rather than moving them to the generation.  This should give
  us slightly better locality (though I wasn't able to measure any
  difference).
  
  Also in this patch: better sanity checking with THREADED.

    M ./includes/rts/storage/GC.h -4 +1
    M ./rts/RaiseAsync.c -3 +3
    M ./rts/Stats.c -13 +21
    M ./rts/Threads.c -1 +1
    M ./rts/sm/Evac.c -5 +5
    M ./rts/sm/GC.c -183 +157
    M ./rts/sm/Sanity.c -53 +102
    M ./rts/sm/Sanity.h -5 +2
    M ./rts/sm/Scav.c -2 +2
    M ./rts/sm/Storage.c -26 +48
    M ./rts/sm/Storage.h -2 +9

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110202154955-12142-71bad8a99c056189e1210e8c62c5933b0cc1641d.gz



More information about the Cvs-ghc mailing list