summaryrefslogtreecommitdiff
path: root/rts/sm/Compact.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-06-09 17:49:43 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-06-09 17:49:43 +0000
commit74ee9df9f9e79e7110e9d8541b84010f35c464c5 (patch)
treea7a10946773a1f12d367c063e4ac343e6580d9ad /rts/sm/Compact.c
parent54fe7a440247fbd0f853d07da23d48b50a229a00 (diff)
downloadhaskell-74ee9df9f9e79e7110e9d8541b84010f35c464c5.tar.gz
Experimental "mark-region" strategy for the old generation
Sometimes better than the default copying, enabled by +RTS -w
Diffstat (limited to 'rts/sm/Compact.c')
-rw-r--r--rts/sm/Compact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index bb4d8388c2..9f0a69d1d1 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -84,7 +84,7 @@ thread (StgClosure **p)
if (HEAP_ALLOCED(q)) {
bd = Bdescr(q);
- if (bd->flags & BF_COMPACTED)
+ if (bd->flags & BF_MARKED)
{
iptr = *q;
switch (GET_CLOSURE_TAG((StgClosure *)iptr))