X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FStorage.c;h=34284e57202567c33476c583f10bc48f648f5760;hb=8aa44328884efa12ef22999ec01ebf368bd7bca2;hp=eb29b2daf6c96e7cae7dda741b0cfa37772ce2e3;hpb=c1540c3def6281ea67b5a4ce7499b1aa982faa25;p=ghc-hetmet.git diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index eb29b2d..34284e5 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -663,7 +663,9 @@ allocateLocal (Capability *cap, nat n) bd->gen_no = 0; bd->step = cap->r.rNursery; bd->flags = 0; - alloc_blocks++; + // NO: alloc_blocks++; + // calcAllocated() uses the size of the nursery, and we've + // already bumpted nursery->n_blocks above. } else { // we have a block in the nursery: take it and put // it at the *front* of the nursery list, and use it