mspace_malloc will call into mmap if it runs out of memory... this does not play...
authorBrian Demsky <bdemsky@uci.edu>
Wed, 3 Oct 2012 09:57:32 +0000 (02:57 -0700)
committerBrian Demsky <bdemsky@uci.edu>
Wed, 3 Oct 2012 09:57:32 +0000 (02:57 -0700)
commita330e8dbc94f534876cc35b1d9d1b1c06d83a437
treeaca3d349baecd82051b5de333ff4afbd93a7ae54
parent61db3a1768f1b90ad997e648a7e622c7ef47b69b
mspace_malloc will call into mmap if it runs out of memory...  this does not play well with
snapshotting the mspace of course...

turn off the mmap option and give us a bigger heap...
add assertions to malloc/calloc/realloc if they return NULL (which is now possible with MMAP turned off)
Makefile
main.cc
mymemory.cc
snapshotimp.h