Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
804a84fb
Commit
804a84fb
authored
Jun 04, 2008
by
Simon Marlow
Browse files
tiny tweak to the stack squeezing heuristic (fixes cg060)
parent
9ad234fb
Changes
1
Show whitespace changes
Inline
Side-by-side
rts/ThreadPaused.c
View file @
804a84fb
...
...
@@ -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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment