Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve the integration of mmalloc and mc_memory into the mess.
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 May 2010 23:42:51 +0000 (23:42 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 May 2010 23:42:51 +0000 (23:42 +0000)
commitf2d062a16daf5602b56944a78c51c36ae317a7fa
treea3416dc70e5af032a8e4350c40b74b3bd239594f
parent62245a9da13c7e59088366fdfaa8d896d29db157
Improve the integration of mmalloc and mc_memory into the mess.

By default (ie, when passed a NULL mmalloc descriptor), mmalloc and
friends use a mmap based implementation (instead of the old, slow sbrk
one).

mc_memory makes sure that we pass something else than NULL as mmalloc
descriptor to mmalloc function only if the model-checker is used.

(the model-checker is not activable yet -- the integration is maybe
next commit)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7710 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/xbt/mmalloc.h
src/mc/mc_memory.c
src/mc/memory_map.c
src/xbt/mmalloc/attach.c
src/xbt/mmalloc/mmalloc.c
src/xbt/mmalloc/mmap-sup.c
src/xbt/mmalloc/mmprivate.h
src/xbt/mmalloc/sbrk-sup.c
src/xbt/xbt_main.c
src/xbt_modinter.h