patch applied (ghc): Fix #2592: do an orderly shutdown when the
heap is exhausted
Simon Marlow
simonmarhaskell at gmail.com
Tue Dec 9 06:28:36 EST 2008
Tue Dec 9 02:59:19 PST 2008 Simon Marlow <marlowsd at gmail.com>
* Fix #2592: do an orderly shutdown when the heap is exhausted
Really we should be raising an exception in this case, but that's
tricky (see comments). At least now we shut down the runtime
correctly rather than just exiting.
M ./includes/RtsAPI.h -1 +2
M ./rts/Main.c +3
M ./rts/RtsUtils.c -8 +8
M ./rts/Schedule.c -1 +29
M ./rts/Schedule.h +2
M ./rts/sm/Storage.c -1 +8
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081209105919-12142-513c862b83316e4d9156145b08f0476f341fff9f.gz
More information about the Cvs-ghc
mailing list