simonmar 2005/11/24 08:51:18 PST
Modified files:
ghc/rts GC.c
Log:
In SMP mode it is still possible for an update frame on the stack to
point to an indirection, when two threads evaluate the same thunk (see
comment for details).
So we use the following trick: when the GC discovers an update frame
pointing to an indirection, it changes the indirection to be an
IND_PERM, so it will be retained rather than discarded.
Revision Changes Path
1.209 +27 -1 fptools/ghc/rts/GC.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc