patch applied (ghc): FIX #1364: added support for C finalizers that
run as soon as the value is not longer reachable.
Simon Marlow
simonmarhaskell at gmail.com
Wed Dec 10 10:36:59 EST 2008
Wed Dec 10 07:04:25 PST 2008 Simon Marlow <marlowsd at gmail.com>
* FIX #1364: added support for C finalizers that run as soon as the value is not longer reachable.
Patch originally by Ivan Tomac <tomac at pacific.net.au>, amended by
Simon Marlow:
- mkWeakFinalizer# commoned up with mkWeakFinalizerEnv#
- GC parameters to ALLOC_PRIM fixed
M ./compiler/prelude/primops.txt.pp +6
M ./includes/Closures.h +1
M ./includes/StgMiscClosures.h +2
M ./includes/mkDerivedConstants.c +1
M ./rts/Linker.c +1
M ./rts/PrimOps.cmm -5 +72
M ./rts/RtsStartup.c +3
M ./rts/StgMiscClosures.cmm -3 +3
M ./rts/Weak.c +39
M ./rts/Weak.h +2
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081210150425-12142-ccc5d684247e59ef315ab6300b7882d855c01bce.gz
More information about the Cvs-ghc
mailing list