Fix #2592: do an orderly shutdown when the heap is exhausted
authorSimon Marlow <marlowsd@gmail.com>
Tue, 9 Dec 2008 10:59:19 +0000 (10:59 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 9 Dec 2008 10:59:19 +0000 (10:59 +0000)
commit5a5acb3698aa4ffdd738c301fa722afe12a1f3de
treece83c8c73753a70b85b2409745b7498e00555559
parent31d797eb1b3c5aa07f928b58402529fd35b71bcc
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.
includes/RtsAPI.h
rts/Main.c
rts/RtsUtils.c
rts/Schedule.c
rts/Schedule.h
rts/sm/Storage.c