• Simon Marlow's avatar
    Add a write barrier for TVAR closures · 6d784c43
    Simon Marlow authored
    This improves GC performance when there are a lot of TVars in the
    heap.  For instance, a TChan with a lot of elements causes a massive
    GC drag without this patch.
    
    There's more to do - several other STM closure types don't have write
    barriers, so GC performance when there are a lot of threads blocked on
    STM isn't great.  But fixing the problem for TVar is a good start.
    6d784c43
Name
Last commit
Last update
bindisttest Loading commit data...
compiler Loading commit data...
distrib Loading commit data...
docs Loading commit data...
driver Loading commit data...
ghc Loading commit data...
includes Loading commit data...
libffi Loading commit data...
libraries Loading commit data...
mk Loading commit data...
rts Loading commit data...
rules Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
HACKING Loading commit data...
LICENSE Loading commit data...
MAKEHELP Loading commit data...
Makefile Loading commit data...
README Loading commit data...
SUBMAKEHELP 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...
ghc.mk Loading commit data...
ghc.spec.in Loading commit data...
install-sh Loading commit data...
packages Loading commit data...
settings.in Loading commit data...
sync-all Loading commit data...
tarballs Loading commit data...
validate Loading commit data...