diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-10-12 10:17:11 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-10-12 10:17:11 +0000 |
commit | 6c278790358dc723fe574a593203993be46ab2fb (patch) | |
tree | 7c37047d340f62a99f262b7065e5c4ad8faa17ec /rts | |
parent | 62cda22c8db50fc1e90efcf266d75ea4d3590697 (diff) | |
download | haskell-6c278790358dc723fe574a593203993be46ab2fb.tar.gz |
accounting wibble: we were missing an alloc_blocks++ in allocateLocal()
Diffstat (limited to 'rts')
-rw-r--r-- | rts/sm/Storage.c | 1 |
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 |