replace malloc/calloc/free with snapshot_{malloc/calloc/free}
authorBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 18:08:36 +0000 (11:08 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 18:45:30 +0000 (11:45 -0700)
commit328a2c09c2ee06d0e1c49ccb84877fa17b436a01
tree0c76335282d04a9e9cbeca869e93d92adcc6da07
parent921d976aa552e5f2a189c594be6111c70e0e5c8a
replace malloc/calloc/free with snapshot_{malloc/calloc/free}

We need to explicitly declare when we are requesting snapshotting
memory, and we need to avoid using malloc, etc., directly. For now, this
has no functional change, as the 'snapshot_*' functions just call the
stdlib functions, but soon we may switch allocators to use a private
heap.
datarace.cc
hashtable.h
schedule.cc
threads.cc