projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad234f
)
tiny tweak to the stack squeezing heuristic (fixes cg060)
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 4 Jun 2008 09:12:44 +0000
(09:12 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 4 Jun 2008 09:12:44 +0000
(09:12 +0000)
rts/ThreadPaused.c
patch
|
blob
|
history
diff --git
a/rts/ThreadPaused.c
b/rts/ThreadPaused.c
index
3aa66ed
..
c32a75b
100644
(file)
--- a/
rts/ThreadPaused.c
+++ b/
rts/ThreadPaused.c
@@
-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);
}
}