Wed Oct 31 06:07:18 PDT 2007 Simon Marlow <[EMAIL PROTECTED]>
* Initial parallel GC support
eg. use +RTS -g2 -RTS for 2 threads. Only major GCs are parallelised,
minor GCs are still sequential. Don't use more threads than you
have CPUs.
It works most of the time, although you won't see much speedup yet.
Tuning and more work on stability still required.
M ./includes/ClosureTypes.h -1 +2
M ./rts/ClosureFlags.c -2 +3
M ./rts/StgMiscClosures.cmm -4 +1
M ./rts/sm/BlockAlloc.c -2 +4
M ./rts/sm/Evac.c -136 +211
M ./rts/sm/GC.c -45 +196
M ./rts/sm/GC.h -1 +10
M ./rts/sm/Scav.c -10 +55
M ./rts/sm/Scav.h -2 +3
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20071031130718-760e2-feaa160e2073fb3214bb704c113ab40e9e757c01.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc