patch applied (ghc-6.12/ghc): Add some missing getStablePtr()s for CAFs that the RTS refers to

Ian Lynagh 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:
http://darcs.haskell.org/ghc-6.12/ghc/_darcs/patches/20100122143658-12142-1a648c6beae6b0bf9ba3a1edfed67d579f53fa26.gz



More information about the Cvs-ghc mailing list