Redesign 64-bit HEAP_ALLOCED (FIX #2934 at the same time)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 9 Mar 2009 12:13:00 +0000 (12:13 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 9 Mar 2009 12:13:00 +0000 (12:13 +0000)
commit9fe7b8ea2136a4a07752b2851840c9366706f832
treecc60d55de58895f8e82432c84711fa0d63544fa2
parent1b62aecee4a58f52999cfa53f1c6b7744b29b808
Redesign 64-bit HEAP_ALLOCED (FIX #2934 at the same time)

After much experimentation, I've found a formulation for HEAP_ALLOCED
that (a) improves performance, and (b) doesn't have any race
conditions when used concurrently.  GC performance on x86_64 should be
improved slightly.  See extensive comments in MBlock.h for the
details.
rts/sm/Evac.c
rts/sm/GCAux.c
rts/sm/MBlock.c
rts/sm/MBlock.h
rts/sm/Scav.c