Wed Feb  2 04:30:49 PST 2011  Simon Marlow <[email protected]>
  * A small GC optimisation
  Store the *number* of the destination generation in the Bdescr struct,
  so that in evacuate() we don't have to deref gen to get it.
  This is another improvement ported over from my GC branch.

    M ./includes/rts/storage/Block.h -12 +31
    M ./includes/rts/storage/GC.h -3 +3
    M ./rts/Arena.c -1 +1
    M ./rts/sm/Evac.c -47 +50
    M ./rts/sm/GC.c -4 +4
    M ./rts/sm/GCThread.h -1 +1
    M ./rts/sm/MarkWeak.c -1 +1
    M ./rts/sm/Scav.c -12 +14

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

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to