Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
011d6f96
Commit
011d6f96
authored
Dec 13, 2011
by
Simon Marlow
Browse files
Fix for a bug in +RTS -qi (crash in zero_static_object_list)
parent
6a8bdf37
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GC.c
View file @
011d6f96
...
...
@@ -651,7 +651,9 @@ GarbageCollect (rtsBool force_major_gc,
zero_static_object_list
(
gct
->
scavenged_static_objects
);
}
else
{
for
(
i
=
0
;
i
<
n_gc_threads
;
i
++
)
{
zero_static_object_list
(
gc_threads
[
i
]
->
scavenged_static_objects
);
if
(
!
gc_threads
[
i
]
->
idle
)
{
zero_static_object_list
(
gc_threads
[
i
]
->
scavenged_static_objects
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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