Commit 6a8f124f authored by Simon Marlow's avatar Simon Marlow
Browse files

lag/drag/void profiling fix

We were searching the wrong part of the heap for dead objects, this
was broken by recent changes to the step structure: from-space is now
in step->old_blocks, not step->blocks.  Fortunately some assertions in
ProfHeap picked up the problem.
parent 6a710247
......@@ -320,7 +320,7 @@ LdvCensusForDead( nat N )
processNurseryForDead();
processChainForDead(generations[g].steps[s].large_objects);
} else{
processHeapForDead(generations[g].steps[s].blocks);
processHeapForDead(generations[g].steps[s].old_blocks);
processChainForDead(generations[g].steps[s].large_objects);
}
}
......
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