summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-12 10:17:11 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-12 10:17:11 +0000
commit6c278790358dc723fe574a593203993be46ab2fb (patch)
tree7c37047d340f62a99f262b7065e5c4ad8faa17ec /rts
parent62cda22c8db50fc1e90efcf266d75ea4d3590697 (diff)
downloadhaskell-6c278790358dc723fe574a593203993be46ab2fb.tar.gz
accounting wibble: we were missing an alloc_blocks++ in allocateLocal()
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/Storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index cd840dd428..d8381e04a3 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -695,6 +695,7 @@ allocateLocal (Capability *cap, nat n)
bd->gen_no = 0;
bd->step = cap->r.rNursery;
bd->flags = 0;
+ alloc_blocks++;
} else {
// we have a block in the nursery: take it and put
// it at the *front* of the nursery list, and use it