• Simon Marlow's avatar
    Add some missing getStablePtr()s for CAFs that the RTS refers to · 849ce0c7
    Simon Marlow authored
    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.
    849ce0c7
RtsStartup.c 11.8 KB