Commit Graph

33 Commits

Author SHA1 Message Date
rdb f45ddcab2f general: switch to C++11 Lockable semantics for mutexes
This renames acquire/release to lock/unlock in order to be compatible with std::lock_guard and std::unique_lock (which will eventually replace the *MutexHolder classes).  It will also allow us to typedef MutexImpl to std::mutex later on.
2018-05-23 20:37:56 +02:00
rdb 27f20c80fd Don't include dlmalloc_src.cxx in interrogate
Fixes: #200
2017-11-27 18:49:28 +01:00
rdb 925ce854d0 general: make DO_MEMORY_USAGE setting not change ABI compatibility 2017-07-10 19:50:09 +02:00
rdb 8c914a2855 Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping. 2017-02-17 13:02:01 +01:00
rdb 2acde88695 New alignment code to hopefully fix the alignment issues 2017-02-10 03:01:32 +01:00
rdb ab5b5e7e74 Merge branch 'release/1.9.x' 2016-12-25 22:47:22 +01:00
rdb 08db72a2ca Update dlmalloc 2016-06-03 17:42:49 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb 861234c349 Bunch of minor compile fixes and changes 2014-11-26 13:33:10 +00:00
David Rose 4820b4a2db fix more static-init ordering issues caused by new alignment code 2012-02-12 19:55:52 +00:00
David Rose 66a52cb6a3 fix MemoryHook internal memory alignment issues 2011-12-18 19:20:18 +00:00
David Rose 56fb33bf00 enforce alignment policies even when malloc() doesn't. 2011-12-18 01:55:22 +00:00
David Rose 702045608d report allocation attempt when out of memory 2011-12-17 01:57:05 +00:00
David Rose 33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
rdb 4f02be0e67 Oops, heh, made a small mistake there regarding MAP_ANON 2010-06-21 17:38:27 +00:00
rdb 86b3116f6b More portable replacements for getpagesize and MAP_ANON 2010-06-21 17:32:11 +00:00
David Rose f68fa1909a USE_DELETED_CHAIN, memory alignment 2009-04-24 22:52:23 +00:00
David Rose ef771a796b make sync primitives more similar to python function names 2008-10-14 00:07:05 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose d85b062b2d don't limit counters to 32-bit 2007-11-21 22:42:56 +00:00
David Rose c11e8411d9 max-heap-size 2007-11-20 22:13:03 +00:00
David Rose facb94eea5 need stdlib.h 2007-11-07 17:49:13 +00:00
David Rose 982f614991 DeletedBufferChain 2007-07-20 23:59:10 +00:00
David Rose 68cd3322a9 better thread protection in reference counts, esp. TransformState etc. 2007-07-14 21:32:48 +00:00
David Rose ab34a7c656 windows niceties 2007-06-29 18:37:18 +00:00
David Rose 09df7cee05 more compiler warnings 2007-06-29 16:38:11 +00:00
David Rose df4cf52a77 compiler warning 2007-06-29 16:00:15 +00:00
David Rose 385e7be325 still more meminfo fixes 2007-06-29 15:53:27 +00:00
David Rose b625e79758 add a destructor to silence the compiler warnings 2007-06-29 15:11:05 +00:00
David Rose b03baf5afd typo 2007-06-29 01:41:25 +00:00
David Rose d52eb37b14 move some low-level mem tracking into MemoryHook, more mem tracking fixes 2007-06-29 01:39:09 +00:00