Add some missing getStablePtr()s for CAFs that the RTS refers to
authorSimon Marlow <marlowsd@gmail.com>
Fri, 22 Jan 2010 14:36:58 +0000 (14:36 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 22 Jan 2010 14:36:58 +0000 (14:36 +0000)
commit849ce0c790ae8eeb636c722149993e7fb9766c9d
tree97cd83d192e9846fc06c7a72d831bcf6971d9998
parent2bc65a500cf6fde3de37f06356b4be29aff31004
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.
rts/Prelude.h
rts/RtsStartup.c