• Simon Marlow's avatar
    Add a proper write barrier for MVars · 1ed01a87
    Simon Marlow authored
    Previously MVars were always on the mutable list of the old
    generation, which meant every MVar was visited during every minor GC.
    With lots of MVars hanging around, this gets expensive.  We addressed
    this problem for MUT_VARs (aka IORefs) a while ago, the solution is to
    use a traditional GC write-barrier when the object is modified.  This
    patch does the same thing for MVars.
    
    TVars are still done the old way, they could probably benefit from the
    same treatment too.
    1ed01a87
Name
Last commit
Last update
InstallShield Loading commit data...
WindowsInstaller Loading commit data...
bindisttest Loading commit data...
compat Loading commit data...
compiler Loading commit data...
distrib Loading commit data...
docs Loading commit data...
driver Loading commit data...
gmp Loading commit data...
includes Loading commit data...
libraries Loading commit data...
mk Loading commit data...
quickcheck Loading commit data...
rts Loading commit data...
utils Loading commit data...
.darcs-boring Loading commit data...
ANNOUNCE Loading commit data...
HACKING Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
aclocal.m4 Loading commit data...
boot Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure.ac Loading commit data...
darcs-all Loading commit data...
extra-gcc-opts.in Loading commit data...
ghc.spec.in Loading commit data...
install-sh Loading commit data...
push-all Loading commit data...
validate Loading commit data...