GC refactoring and cleanup
authorSimon Marlow <marlowsd@gmail.com>
Wed, 2 Feb 2011 15:49:55 +0000 (15:49 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 2 Feb 2011 15:49:55 +0000 (15:49 +0000)
commit18896fa2b06844407fd1e0d3f85cd3db97a96ff4
treeecea68990c0891e25a21bf25a26435e70e8e42fa
parent8d809e0a8354e00078529eecb00db843c1602abe
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
rts/RaiseAsync.c
rts/Stats.c
rts/Threads.c
rts/sm/Evac.c
rts/sm/GC.c
rts/sm/Sanity.c
rts/sm/Sanity.h
rts/sm/Scav.c
rts/sm/Storage.c
rts/sm/Storage.h