patch applied (ghc-6.12/ghc): Add some missing getStablePtr()s for
CAFs that the RTS refers to
igloo at earth.li
Thu Feb 4 11:50:20 EST 2010
Fri Jan 22 06:36:58 PST 2010 Simon Marlow <marlowsd at gmail.com>
* Add some missing getStablePtr()s for CAFs that the RTS refers to
A recent patch ("Refactor CoreArity a bit") changed the arity of
GHC.Conc.runSparks such that it became a CAF, and the RTS was not
explicitly retaining it, which led to a crash when the CAF got GC'd.
While fixing this I found a couple of other closures that the RTS
refers to which weren't getting the correct CAF treatment.
M ./rts/Prelude.h +2
M ./rts/RtsStartup.c -1 +8
View patch online:
More information about the Cvs-ghc