Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/18896fa2b06844407fd1e0d3f85cd3db97a96ff4 >--------------------------------------------------------------- commit 18896fa2b06844407fd1e0d3f85cd3db97a96ff4 Author: Simon Marlow <[email protected]> Date: Wed Feb 2 15:49:55 2011 +0000 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. includes/rts/storage/GC.h | 5 +- rts/RaiseAsync.c | 6 +- rts/Stats.c | 34 +++-- rts/Threads.c | 2 +- rts/sm/Evac.c | 10 +- rts/sm/GC.c | 328 +++++++++++++++++++++------------------------ rts/sm/Sanity.c | 151 ++++++++++++++------- rts/sm/Sanity.h | 7 +- rts/sm/Scav.c | 4 +- rts/sm/Storage.c | 74 +++++++---- rts/sm/Storage.h | 11 ++- 11 files changed, 343 insertions(+), 289 deletions(-) Diff suppressed because of size. To see it, use: git show 18896fa2b06844407fd1e0d3f85cd3db97a96ff4 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
