small stats fix
authorSimon Marlow <simonmar@microsoft.com>
Fri, 24 Nov 2006 16:25:12 +0000 (16:25 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 24 Nov 2006 16:25:12 +0000 (16:25 +0000)
rts/sm/GC.c

index 17211ac..270784e 100644 (file)
@@ -649,7 +649,7 @@ GarbageCollect ( rtsBool force_major_gc )
        if (g <= N) {
          copied -= stp->hp_bd->start + BLOCK_SIZE_W -
            stp->hp_bd->free;
-         scavd_copied -= (P_)(BLOCK_ROUND_UP(stp->scavd_hp)) - stp->scavd_hp;
+         scavd_copied -= stp->scavd_hpLim - stp->scavd_hp;
        }
       }