Commit 804a84fb authored by Simon Marlow's avatar Simon Marlow
Browse files

tiny tweak to the stack squeezing heuristic (fixes cg060)

parent 9ad234fb
......@@ -310,7 +310,7 @@ end:
// the number of words we have to shift down is less than the
// number of stack words we squeeze away by doing so.
if (RtsFlags.GcFlags.squeezeUpdFrames == rtsTrue &&
((weight <= 4 && words_to_squeeze > 0) || weight < words_to_squeeze)) {
((weight <= 5 && words_to_squeeze > 0) || weight < words_to_squeeze)) {
stackSqueeze(tso, (StgPtr)frame);
}
}
Supports Markdown
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