Commit graph

  • 4a0c53ba5a Fix the prototype of malloc_size. Otherwise we'll end with invalid redeclaration if malloc/malloc.h is pulled on Darwin Anton Korobeynikov 2020-04-21 15:07:32 +03:00
  • 7f7fbd54e9 Merge branch 'dev' into dev-debug daan 2020-04-20 18:07:38 -07:00
  • e31298bdc3 fix compiler warning in secure mode daan 2020-04-20 18:04:09 -07:00
  • 3484cda169 bump version to 1.6.3 for further development daan 2020-04-20 18:01:39 -07:00
  • d102882bdf bump version to 1.6.2 v1.6.2 daan 2020-04-20 17:59:13 -07:00
  • 9ebb94fe17 set extra debug padding per-heap daan 2020-04-20 17:09:28 -07:00
  • ae608cda2f merge from dev daan 2020-04-20 13:03:55 -07:00
  • ecdb2cd706 document NUMA nodes setting daan 2020-04-20 12:37:00 -07:00
  • bb6afb7efd update documentation daan 2020-04-20 12:00:39 -07:00
  • 0a708fec7d Merge branch 'master' into dev daan 2020-04-20 11:55:15 -07:00
  • 45a6161cf3 update logo to just use paths in svg daan 2020-04-20 11:54:28 -07:00
  • cbebd4e15c
    Add thank you notes Daan 2020-04-20 11:37:59 -07:00
  • b0150ba705 more notes on windows overriding daan 2020-04-20 09:56:55 -07:00
  • 8e584cf3d9 update readme to caution against using fork with huge/large OS pages (#229) daan 2020-04-20 09:50:35 -07:00
  • 093db6af24 possible fix for memory instability on Win7 (#230) daan 2020-04-20 09:33:19 -07:00
  • 77acf5a868 more careful overriding of aligned_alloc for compilation on Conda (#219) daan 2020-04-20 09:27:43 -07:00
  • 211038c4e5 (possible) fix for overriding of aligned_alloc on systems that define it as static inline. issue #219 daan 2020-04-15 11:55:54 -07:00
  • ea558cadba
    Merge pull request #227 from devnexen/android_build_fix Daan 2020-04-15 11:23:04 -07:00
  • 80aeb1bd1d Fix compiler detection David Carlier 2020-04-15 05:34:07 +01:00
  • e217167d15 add better debug hint for gdb daan 2020-04-14 20:50:23 -07:00
  • 7c058f207c merge from dev daan 2020-04-14 20:38:02 -07:00
  • 7a0cdebe7e
    Merge pull request #226 from wujysh/patch-1 Daan 2020-04-14 17:50:03 -07:00
  • 1116c0df2e fix strnlen do not search beyond n characters, issue #228 daan 2020-04-14 17:42:30 -07:00
  • 6c5039bad1 Android build fix proposal. David Carlier 2020-04-14 14:20:56 +01:00
  • 6f03be2d3a
    Fix Windows builds on Azure Pipelines Jiaye Wu 2020-04-14 12:54:35 +08:00
  • 99ea9e6c60 Added cleanup to test Milovidov Mikhail 2020-04-09 17:20:13 +03:00
  • 4616e254ec Add an option for supporting NUMA aware allocation on Windows Jiaye Wu 2020-04-09 16:40:59 +08:00
  • 39f9fb1fbd
    Merge pull request #5 from microsoft/dev synacker 2020-04-08 09:08:42 -07:00
  • a0d7a9d94d small fixes daan 2020-04-07 10:40:19 -07:00
  • 6b6a8a2315 fix padding check and set default extra padding to 0 daan 2020-04-07 10:35:51 -07:00
  • 2e175c1221 merge from dev daan 2020-04-07 10:29:14 -07:00
  • 69a0846478 add MI_PADDING flag to cmake to supress use of padding in debug mode daan 2020-04-07 10:01:18 -07:00
  • 40385c528b add heap leak check method daan 2020-04-07 09:04:20 -07:00
  • aa47541ee5 add mi_heap_print_json daan 2020-04-07 08:51:02 -07:00
  • 75053f211a add more detailed block info for heap visiting daan 2020-04-07 08:36:22 -07:00
  • 8ff080130d
    Merge pull request #4 from synacker/master synacker 2020-04-07 14:13:38 +03:00
  • 011a95af6d
    Merge pull request #3 from microsoft/dev synacker 2020-04-07 14:12:40 +03:00
  • 173978c122 add more detailed block info for heap visiting daan 2020-04-06 23:39:09 -07:00
  • 120af372ab add support for extra debug padding in every block daan 2020-04-06 22:05:10 -07:00
  • b304e24c40 add debug source pointer checking in case of corruption daan 2020-04-06 16:54:22 -07:00
  • 8a7d5804bc add corrupted block scanning on overflow detection daan 2020-04-06 16:10:43 -07:00
  • 083392fa15 add padding check in usable size daan 2020-04-06 13:42:39 -07:00
  • a38abae0a1 comments and improved error message on buffer overflow daan 2020-04-06 13:30:17 -07:00
  • 19cae48556 merge from dev daan 2020-04-06 12:59:29 -07:00
  • afc4f79a69 fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221) daan 2020-04-06 12:15:12 -07:00
  • 84b9b8878e possible fix for issue #221 daan 2020-04-06 11:49:32 -07:00
  • 34d3b8c47f add version check for mingw compilation and add FlsAlloc definitions if required daan 2020-04-06 11:25:25 -07:00
  • 0a3e5bb699 further fixes to compile on mingw without warnings (issue #217) daan 2020-04-06 10:56:53 -07:00
  • 0f3bd05fd5 fix mingw compilation for numa awareness (issue #217) daan 2020-04-06 10:03:30 -07:00
  • 50bfacdb71 fix mingw compilation by using export definitions (issue #217) daan 2020-04-06 09:53:29 -07:00
  • faa83a1c47 fix issue number: 212 to #221 daan 2020-04-06 09:19:26 -07:00
  • 888f39b324 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2020-04-06 08:32:47 -07:00
  • c7e9cfd3ed add test case for issue #212 daan 2020-04-06 08:32:25 -07:00
  • 64e8cfa942
    Merge pull request #216 from devnexen/dev_32bits_warning_fixes Daan 2020-04-06 08:09:06 -07:00
  • 1ece3ff6aa
    Merge pull request #220 from cormacrelf/usable_size Daan 2020-04-06 08:05:34 -07:00
  • 0047b271f7 Call mi_page_usable_size_of with unaligned block rather than start of aligned memory Cormac Relf 2020-04-06 21:05:44 +10:00
  • 414acd49ab Add test to exercise mi_usable_size on aligned allocations Cormac Relf 2020-04-06 21:05:44 +10:00
  • 3eea612582
    Merge pull request #2 from hardened-steel/feature/add-cleanup-mem-function synacker 2020-03-26 08:59:25 -07:00
  • 7b9fc77923
    Merge pull request #1 from microsoft/master synacker 2020-03-26 08:49:29 -07:00
  • c0b06949cb 32 bits build fix proposal. David Carlier 2020-03-20 17:38:14 +00:00
  • cfeee53389 remove accidental include file daan 2020-03-16 16:44:29 -07:00
  • 1f396e64a0 merge from dev daan 2020-03-16 16:41:21 -07:00
  • 2d52b967bc merge from dev daan 2020-03-16 16:07:52 -07:00
  • 980d343f39
    Merge pull request #213 from devnexen/raspberry_build_fix Daan 2020-03-16 15:34:22 -07:00
  • 7745dde8d2 allow retirement for all object sizes (issue #212) daan 2020-03-16 15:31:37 -07:00
  • 2884affbd7 Using host data rather. David Carlier 2020-03-07 12:19:48 +00:00
  • 854e81c11d build fix for arm, adding native arch flag to be able to generate yield asm instruction. David Carlier 2020-03-07 09:18:45 +00:00
  • 7c2e7eb9ef
    Merge pull request #211 from ohasanliUW/symlink_issue_166 Daan 2020-03-06 17:20:17 -08:00
  • 72f758c433 fix issue #210 where multiple static instances of mimalloc in DLL's compete for the same virtual memory area daan 2020-03-06 16:43:39 -08:00
  • 5bc276c23b fix issue #208: dynamic unloading of DLL with statically linked mimalloc daan 2020-03-06 16:24:51 -08:00
  • ab202fbe73 never free the main heap structures; issues #207 daan 2020-03-06 15:53:07 -08:00
  • b41183e8a3 Creation of symbolic link was failing. #166 Orkhan Hasanli 2020-03-04 20:45:20 -05:00
  • ec61224db0 fix padding issue with zero sized allocation (issue #209) daan 2020-02-18 20:05:30 -08:00
  • 6e08b0c0c8 Merge branch 'dev-debug' of https://github.com/microsoft/mimalloc into dev-debug daan 2020-02-17 10:24:15 -08:00
  • 6527819eaf merge from dev daan 2020-02-17 10:24:03 -08:00
  • 6e1ca96a49
    Update readme.md Daan 2020-02-17 10:19:29 -08:00
  • 82684042be bump version to 1.6.1 v1.6.1 daan 2020-02-17 10:10:22 -08:00
  • baf08e8d54 fix size check on overflow when padding is enabled in debug mode daan 2020-02-17 09:59:34 -08:00
  • f2ac272baa strengthen alignment check for memalign and aligned_alloc daan 2020-02-17 09:59:11 -08:00
  • 16ebb70e4c strengthen aligment guarantee (issue #206) (reverse commit 4531367) daan 2020-02-17 09:15:48 -08:00
  • ba3e32cb63 fix test build on linux daan 2020-02-15 13:15:45 -08:00
  • e3043b9c1b allow new-delete to be included after mimalloc-override daan 2020-02-14 13:58:32 -08:00
  • 9799560aa3 Merge branch 'dev' into dev-debug daan 2020-02-14 11:14:48 -08:00
  • 3e198cc87d fix too strict assertion (issue #204) daan 2020-02-14 11:11:57 -08:00
  • e9c5b31b1c keep dbg entries in release build to allow linking with both daan 2020-02-14 11:08:25 -08:00
  • ae6491f201 clean up export macros daan 2020-02-14 10:59:23 -08:00
  • 38a0f53ef7 merge from dev daan 2020-02-14 09:44:27 -08:00
  • 67de2549cf fix build with clang-cl due to _Check_return_ (issue #200) daan 2020-02-14 09:40:56 -08:00
  • f0aca8abcd fix build with clang 8 daan 2020-02-13 20:34:35 -08:00
  • 3b08f585bb improve inlining and codegen for mi_calloc daan 2020-02-13 19:04:29 -08:00
  • cc019fd145 improve inlining and codegen for mi_new daan 2020-02-13 18:57:12 -08:00
  • c04881ef8a add getcwd and fullpath wrappers daan 2020-02-13 17:59:43 -08:00
  • ff2fe673e5 merge with dev daan 2020-02-13 14:32:54 -08:00
  • e981e9227e ensure thread delayed freeing is correct during heap_absorb; #204 daan 2020-02-13 13:12:19 -08:00
  • af37302e83 add assertions daan 2020-02-13 12:27:06 -08:00
  • 8a2a52843d delete all thread owned heaps when a thread is terminated (issue #202) daan 2020-02-13 12:15:23 -08:00
  • 946a71c4a9 fix issue #204 (and #205) by doing thread delayed free after absorbing the pages daan 2020-02-13 11:37:48 -08:00
  • f42b8526d0 fix wrong __declspec(restrict) and __attribute__((malloc)) attributes on reallocation functions daan 2020-02-13 10:36:39 -08:00
  • 9749c83ca0 fix build with debug and secure both enabled, issue #203 daan 2020-02-13 09:16:41 -08:00
  • 7d098836eb wip: basic tracking of allocation locations is working daan 2020-02-13 00:43:34 -08:00