Commit 6ff3c318 authored by Edward Z. Yang's avatar Edward Z. Yang

Fix documentation bug: TSOs are *not* unconditionally kept on the mutable list.

The bug where TSOs were unconditionally kept on the mutable list was #1589
which was fixed in 04cddd33.
Curiously enough, the commit that changed this comment
0417404f occurred *after* this
change was made; I can only assume Simon Marlow accidentally forgot
that he had fixed this bug. :-)
Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <ezyang@mit.edu>
parent 146b0eaf
......@@ -1438,7 +1438,7 @@ scavenge_mutable_list(bdescr *bd, generation *gen)
// definitely doesn't point into a young generation.
// Clean objects don't need to be scavenged. Some clean
// objects (MUT_VAR_CLEAN) are not kept on the mutable
// list at all; others, such as TSO
// list at all; others, such as MUT_ARR_PTRS
// are always on the mutable list.
//
switch (get_itbl((StgClosure *)p)->type) {
......
Markdown is supported
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