summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2013-01-27 18:25:34 -0800
committerEdward Z. Yang <ezyang@mit.edu>2013-01-27 18:25:34 -0800
commit6ff3c31888e614d1f6f78449e41d293612a855be (patch)
treed4d4a05af8d80ac24523facde04276d5088e79e5
parent146b0eafa17f0ac28f7ef3f273919c4c6a22f45b (diff)
downloadhaskell-6ff3c31888e614d1f6f78449e41d293612a855be.tar.gz
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 04cddd339c000df6d02c90ce59dbffa58d2fe166. Curiously enough, the commit that changed this comment 0417404f5d1230c9d291ea9f73e2831121c8ec99 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 <ezyang@mit.edu>
-rw-r--r--rts/sm/Scav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index 1e0411a972..6137f6d862 100644
--- a/rts/sm/Scav.c
+++ b/rts/sm/Scav.c
@@ -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) {