projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
62cda22
)
accounting wibble: we were missing an alloc_blocks++ in allocateLocal()
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 12 Oct 2007 10:17:11 +0000
(10:17 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 12 Oct 2007 10:17:11 +0000
(10:17 +0000)
rts/sm/Storage.c
patch
|
blob
|
history
diff --git
a/rts/sm/Storage.c
b/rts/sm/Storage.c
index
cd840dd
..
d8381e0
100644
(file)
--- 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;
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
} else {
// we have a block in the nursery: take it and put
// it at the *front* of the nursery list, and use it