Commit Graph

  • 207277af65 update readme daan 2020-01-16 18:11:29 -08:00
  • d57afd69f7 fix assertion index daan 2020-01-16 16:56:02 -08:00
  • 0b4b183a83 ensure unique build names for C++ azure pipeline jobs daan 2020-01-16 16:52:44 -08:00
  • 52c673b4b1 enable debug clang++ compilation in azure pipelines daan 2020-01-16 16:49:59 -08:00
  • 50abaa77e9 initialize thread_delayed_free field atomically daan 2020-01-16 16:45:34 -08:00
  • 9afeb7d546 test for gcc version for aligned new/delete overrides daan 2020-01-16 16:30:44 -08:00
  • 1af32a1ef1 fix type of bitmap field to avoid C++ error on older gcc daan 2020-01-16 16:21:59 -08:00
  • de8d238e15 add Linux gcc C++ build to azure pipeline daan 2020-01-16 16:08:23 -08:00
  • 6d09cdd66e use proper C++11 check for noexcept attribute daan 2020-01-16 15:58:48 -08:00
  • 45927f2476 rearrange STL allocator code: remove pragma, ifdef for C++11 daan 2020-01-16 15:57:11 -08:00
  • 51c1ec45e5 Merge pull request #188 from kile0/kile/stl Daan 2020-01-16 15:33:44 -08:00
  • 698f53336e Merge branch 'dev' into kile/stl Daan 2020-01-16 15:33:13 -08:00
  • bf40e25bf6 merge stl and main header Kirsten Lee 2020-01-16 15:17:15 -08:00
  • 7e66bf64c4 flip the order of includes for ease of use Kirsten Lee 2020-01-16 14:54:13 -08:00
  • e5d47742aa add explicit calling convention to registered functions daan 2020-01-16 14:25:09 -08:00
  • d653dd3fcc specialize mi_mallocn for count=1 daan 2020-01-16 14:12:37 -08:00
  • c118540ab7 add option to reset eagerly when a segment is abandoned daan 2020-01-16 11:25:02 -08:00
  • b1368a6f12 fix debug build daan 2020-01-16 03:54:51 -08:00
  • faeb157dae fix options daan 2020-01-15 18:07:29 -08:00
  • f1fdbeccc1 merge from dev daan 2020-01-15 18:03:37 -08:00
  • 66843d54d0 eager collect on page reclamation daan 2020-01-15 17:57:19 -08:00
  • a52951b016 use delayed free for all pages; reduce size of the page structure for improved address calculation daan 2020-01-15 17:19:01 -08:00
  • 1e4b4ef0a6 bump version to 1.4 for further development daan 2020-01-15 12:16:01 -08:00
  • 6cf37aeb46 update page reset queue to just do delayed page resets daan 2020-01-15 12:00:44 -08:00
  • 57e21385bc add output argument to stat printing daan 2020-01-15 10:53:54 -08:00
  • 60d52b5506 add argument pointer to the register deferred free callback daan 2020-01-15 10:21:32 -08:00
  • 1c92ac5365 add argument pointer to the register output routine daan 2020-01-15 10:18:32 -08:00
  • 0a74491cd3 wip: first implementation of page free list on segments for effecient delayed page reset daan 2020-01-14 21:47:18 -08:00
  • 3467072899 ensure proper padding for the page structure daan 2020-01-13 20:48:37 -08:00
  • 003862d1ce ensure page reset flag is always reset daan 2020-01-13 20:48:18 -08:00
  • 98b6829482 default to non-eager commit daan 2020-01-13 18:01:52 -08:00
  • 57d5d4b364 merge from dev daan 2020-01-13 18:01:34 -08:00
  • c27858f4f2 fix out-of-bounds error in huge OS page bitmap daan 2020-01-13 17:06:25 -08:00
  • c1898d1434 add mprotect error when the mmap limit might be reached in secure mode (see issue #77) daan 2020-01-09 17:52:28 -08:00
  • ca2d8f9cc4 build debug and secure versions on macOS in Azure pipelines daan 2020-01-08 23:54:56 -08:00
  • 9c07e6d1f5 fix test on Windows in azure pipelines daan 2020-01-08 23:47:40 -08:00
  • 964e7f0921 fix test on Windows in azure pipelines daan 2020-01-08 23:46:56 -08:00
  • 1516b7efdf add test pass to Windows build daan 2020-01-08 23:40:57 -08:00
  • abce1b7035 build release and debug build on Windows daan 2020-01-08 23:27:18 -08:00
  • 57692e1c25 fix windows debug build at MI_DEBUG=2 daan 2020-01-08 23:21:32 -08:00
  • 6af86801ea fix bug exposed by commit 42cd0b1 where reclaimed pages could be stuck to NEVER_DELAYED daan 2020-01-08 19:00:03 -08:00
  • 56ca98eea8 fix iteration count display in stress test daan 2020-01-08 17:51:11 -08:00
  • 27d558636b fix potential A-B-A problem with segment abandonment; noticed by Manual Poeter and Sam Gross daan 2020-01-08 17:45:38 -08:00
  • 220d705052 make the stress test do more iterations under a smaller load to stay under 1GiB committed and increase thread interaction daan 2020-01-08 12:59:20 -08:00
  • 1dc2b7834c fix assertion daan 2020-01-08 12:58:07 -08:00
  • e04d0010a2 fix timeout on huge page reservation if set to 0 daan 2020-01-07 14:15:37 -08:00
  • 5cf9fc0484 on Linux dynamically detect if getrandom is supported and fall back to /dev/urandom if needed daan 2020-01-06 22:08:21 -08:00
  • 3715589c5d only include vector header when compiling c++ Kirsten Lee 2020-01-06 16:44:55 -08:00
  • bf462d870a fix unintended diff Kirsten Lee 2020-01-06 16:25:21 -08:00
  • 875e33364f add stl mimalloc wrapper Kirsten Lee 2020-01-06 16:18:22 -08:00
  • 28fd7ead69 disable MAP_NORESERVE on huge pages daan 2020-01-05 22:07:16 -08:00
  • 31e3531f1d revert 212ddf2 (remove empty page removal on search): this is not generally valid when concurrent frees do not always add to thread_delayed_free. daan 2020-01-05 13:58:49 -08:00
  • 42cd0b1f13 fix bug where continue would wrongly exit the do-while loop for delayed freeing daan 2020-01-04 17:32:50 -08:00
  • 212ddf2a7b remove empty page removal on page search (no longer needed with retired collection and delayed freeing) daan 2020-01-03 22:52:52 -08:00
  • 27f11bd207 fix thread_free read in assertion daan 2020-01-03 22:06:27 -08:00
  • 8b008ca280 increase retire expiration to 4 daan 2020-01-03 21:39:18 -08:00
  • bdf6fd58b1 increase retire limit, collect retired pages daan 2020-01-03 17:06:41 -08:00
  • 21cea65c91 set secure default to 0 again daan 2020-01-02 17:57:41 -08:00
  • 2d0c80dc4b fix eager commit on large pages (issue #182) daan 2020-01-02 17:25:00 -08:00
  • f5e3c74120 remove unused parameter in check double free daan 2020-01-02 17:24:32 -08:00
  • 1010e67ab9 Merge branch 'dev-random' into dev daan 2019-12-28 16:19:45 -08:00
  • 07df268c3a improve double free detection with faster same page check daan 2019-12-28 15:28:13 -08:00
  • 2d443fb544 update free list encoding to stronger formula with addition last daan 2019-12-28 15:17:49 -08:00
  • 72e34c1d17 stronger encoding of free lists using two keys per page daan 2019-12-27 23:33:50 -08:00
  • 9495d098ed variable renaming daan 2019-12-27 22:30:23 -08:00
  • e1d6ad5186 merge from master daan 2019-12-24 10:44:49 -08:00
  • 916fe4b58b Update readme.md Daan 2019-12-24 10:38:13 -08:00
  • 1091fd4df4 fix large OS page size on Linux (issue #184, due to fix for #179) daan 2019-12-24 10:32:44 -08:00
  • 6061dc45a1 updated random cookie generation using OS primitives and chacha20 daan 2019-12-22 17:07:01 -08:00
  • 79084ac84a fix compilation of region descriptor on 32-bit daan 2019-12-22 17:08:46 -08:00
  • 4f314b9e32 add preload check in option initialization (issues #179) Daan Leijen 2019-12-01 01:03:39 -08:00
  • 44b922fce0 add preload check to options initialization daan 2019-12-01 00:03:35 -08:00
  • 04e6757712 add arena.c into the static override object daan 2019-12-01 00:01:14 -08:00
  • d1b4eec6a0 fix non-standard line continuation daan 2019-11-25 14:30:12 -08:00
  • 168e267e4d Merge pull request #178 from carenas/master Daan 2019-11-25 14:28:58 -08:00
  • ba1077e8a6 merge from dev daan 2019-11-25 11:16:39 -08:00
  • 4acfb7be5b clean up options; make secure work with eager_page_commit daan 2019-11-25 10:47:17 -08:00
  • 64475aca8c fix unix bug in decommit size daan 2019-11-25 10:11:29 -08:00
  • bc6aff5972 experimental eager page commit option daan 2019-11-24 22:00:11 -08:00
  • 80953e0e89 define commit unit in terms of segment size daan 2019-11-24 19:17:56 -08:00
  • eef12bff27 more fine grained commit tracking per MiB daan 2019-11-24 19:06:30 -08:00
  • 39de832e20 merge from dev daan 2019-11-24 18:51:09 -08:00
  • 6ffd977758 reenable segment cache and fix initial segment commit daan 2019-11-24 15:25:19 -08:00
  • 7dd8764af9 more precise memory reset daan 2019-11-24 14:40:47 -08:00
  • c12ae70519 avoid deadlock with BSD systems that call malloc from the dynamic linker Carlo Marcelo Arenas Belón 2019-09-01 01:06:01 -07:00
  • 988b8fafa0 improve secure guard page allocation to work with non-eager commit daan 2019-11-23 11:59:19 -08:00
  • b054c0798c update stress test with more documentation Daan Leijen 2019-11-22 11:28:55 -08:00
  • 64bde5180d Merge branch 'master' into dev-win daan 2019-11-22 09:29:28 -08:00
  • 2f65f9401c Merge branch 'dev' into dev-arena daan 2019-11-22 09:29:00 -08:00
  • 25ccbf4d17 bump version to 1.3 for further development daan 2019-11-22 09:28:48 -08:00
  • 2d38b48227 Merge branch 'dev-exp' into dev daan 2019-11-22 09:22:03 -08:00
  • 38e637b97f update redirection module on Windows for improved trace messages daan 2019-11-22 08:57:51 -08:00
  • 45b44933c4 wip: full decommit delay, for arena cache as well daan 2019-11-21 20:57:32 -08:00
  • b6ff47fa0d wip: delayed decommit on segments daan 2019-11-21 19:53:43 -08:00
  • 8845193dcb merge from dev-exp daan 2019-11-21 17:03:30 -08:00
  • fc316f256c Merge branch 'dev' into dev-exp daan 2019-11-21 16:29:59 -08:00
  • 2f41a8b4b7 set secure default to 0 daan 2019-11-21 16:29:46 -08:00
  • 28a5fe1bf8 merge from dev daan 2019-11-21 16:28:28 -08:00
  • 356b864943 update documentation daan 2019-11-21 16:24:10 -08:00
  • e19ae0c611 azure pipeline logo shows dev branch daan 2019-11-21 16:20:35 -08:00