patch applied (ghc): compile special minor GC versions of evacuate() and scavenge_block()

Simon Marlow simonmarhaskell at gmail.com
Tue Jun 17 10:33:40 EDT 2008


Wed Oct 31 08:33:39 PDT 2007  Simon Marlow <simonmar at microsoft.com>
  * compile special minor GC versions of evacuate() and scavenge_block()
  
  This is for two reasons: minor GCs don't need to do per-object locking
  for parallel GC, which is fairly expensive, and secondly minor GCs
  don't need to follow SRTs.

    M ./rts/sm/Evac.c -438 +22
    A ./rts/sm/Evac.c-inc
    M ./rts/sm/Evac.h -1 +2
    M ./rts/sm/Scav.c -427 +19
    A ./rts/sm/Scav.c-inc

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20071031153339-760e2-ca0b51babefd08974b2e70ce18ee358164e5d2b0.gz



More information about the Cvs-ghc mailing list