[commit: ghc] master: Fix documentation bug: TSOs are *not* unconditionally kept on the mutable list. (6ff3c31)

Edward Z. Yang ezyang at MIT.EDU
Mon Jan 28 03:37:32 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/6ff3c31888e614d1f6f78449e41d293612a855be

>---------------------------------------------------------------

commit 6ff3c31888e614d1f6f78449e41d293612a855be
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Sun Jan 27 18:25:34 2013 -0800

    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 at mit.edu>

>---------------------------------------------------------------

 rts/sm/Scav.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index 1e0411a..6137f6d 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) {





More information about the ghc-commits mailing list