Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
ce7bf183
Commit
ce7bf183
authored
Nov 23, 2009
by
Simon Marlow
Browse files
disable a false assertion, add a comment to explain why
parent
b7a8d205
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/Scav.c
View file @
ce7bf183
...
...
@@ -1490,9 +1490,11 @@ scavenge_mutable_list(bdescr *bd, generation *gen)
case
TSO
:
{
StgTSO
*
tso
=
(
StgTSO
*
)
p
;
if
(
tso
->
dirty
==
0
)
{
// Must be on the mutable list because its link
// field is dirty.
ASSERT
(
tso
->
flags
&
TSO_LINK_DIRTY
);
// Should be on the mutable list because its link
// field is dirty. However, in parallel GC we may
// have a thread on multiple mutable lists, so
// this assertion would be invalid:
// ASSERT(tso->flags & TSO_LINK_DIRTY);
scavenge_TSO_link
(
tso
);
if
(
gct
->
failed_to_evac
)
{
...
...
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