Commit 1231d332 authored by simonmar@microsoft.com's avatar simonmar@microsoft.com
Browse files

calcNeeded: add in the large blocks too

parent 2fb3d02a
......@@ -1003,9 +1003,9 @@ calcNeeded(void)
generations[g].steps[0].n_large_blocks
> generations[g].max_blocks
&& stp->is_compacted == 0) {
needed += 2 * stp->n_blocks;
needed += 2 * stp->n_blocks + stp->n_large_blocks;
} else {
needed += stp->n_blocks;
needed += stp->n_blocks + stp->n_large_blocks;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment