Commit Graph

  • 18d8537659 Fix mi_heap_free with arena mi-heap-free-arena Luke Street 2025-11-03 19:35:25 -07:00
  • 7a2a41134a bump version to 3.0.10 v3.0.10 dev3-cdb Daan 2025-10-06 21:47:48 -07:00
  • d9f09dde90 add MI_DEBUG_ASSERT option to cmake Daan 2025-10-06 21:45:02 -07:00
  • 5d98acadc0 fix potential race condition with setting the alignment flag and changing the threadid of a page dev3-cdb-sk Daan 2025-09-05 13:36:17 -07:00
  • a42b4d572a unify zero-ing path for huge blocks dev3 Daan 2025-09-05 17:08:36 -07:00
  • 76e1f1886f clarify comment Daan 2025-09-05 16:57:20 -07:00
  • 319e301dfc remove unnecessary assert Daan 2025-09-05 16:25:40 -07:00
  • 10967077cb Merge branch 'dev' into dev3 Daan 2025-09-05 16:05:10 -07:00
  • f5c860d634 show azure build status for dev3 by default (instead of dev) Daan 2025-09-05 16:05:03 -07:00
  • f6c4e7622d show azure build status for dev3 by default (instead of dev) Daan 2025-09-05 16:04:17 -07:00
  • e997e40685 remove block_size_shift and test directly in mi_page_ptr_unalign Daan 2025-09-05 15:59:43 -07:00
  • f8e55287db fix MI_SECURE test for unaligning pointers on free Daan 2025-09-05 15:42:37 -07:00
  • 7c1635b130 fix assertion condition Daan 2025-09-05 15:40:19 -07:00
  • 3c436c4ef3 rename has_aligned to has_interior_pointers; always unalign pointers in secure mode Daan 2025-09-05 15:36:16 -07:00
  • 5f82b5c9cb fix potential race condition with setting the alignment flag and changing the threadid of a page Daan 2025-09-05 13:36:17 -07:00
  • 3b2d479307 remove the temporary fix to always unalign pointers on free Daan 2025-09-05 13:40:59 -07:00
  • 24164aeddc fix potential race condition with setting the alignment flag and changing the threadid of a page Daan 2025-09-05 13:36:17 -07:00
  • 3e0449177d bump version to 3.0.9 v3.0.9 Daan 2025-09-03 13:01:02 -07:00
  • 7a5d3050ec temporary fix: always unalign pointers passed to mi_free to handle potential interior pointers correctly Daan 2025-09-03 12:57:44 -07:00
  • 51e0f21cf5 Verify alignment Sergiy Kuryata 2025-08-29 16:02:33 -07:00
  • b52e821578 Increase the amount of memory that gets poisoned on free. Sergiy Kuryata 2025-08-13 14:49:58 -07:00
  • 971d4529ad Add diagnostics code to help catch potential double free, use-after-free and other allocation related races Sergiy Kuryata 2025-07-29 23:24:10 -07:00
  • a479aaba94 cherry pick guarded sample rate fix v3.0.8 daanx 2025-05-13 15:58:45 -07:00
  • 8c9f39fde1 bump version to 3.0.7 Daan 2025-07-14 09:16:34 -07:00
  • 0f7c9d33e7 set build setting MI_OPT_ARCH by default to OFF to ensure it runs as x64 under the arm64 emulator; performance impact is minimal on x64 and unchanged for native arm64 v3.0.7 Daan 2025-07-14 08:39:15 -07:00
  • 6be28eda6e bump version to 3.0.6 Daan 2025-06-23 18:46:48 -07:00
  • 639b73ecf9 refactor Daan 2025-06-18 01:37:16 -07:00
  • 98140490a9 remove unneeded forward declarations Daan 2025-06-18 01:34:56 -07:00
  • c1f17cd253 include std headers in bits for IDE Daan 2025-06-17 20:10:32 -07:00
  • 0f2cc25572 fix decl_nodiscard annotation for Linux builds Daan 2025-06-17 20:08:10 -07:00
  • 796aa40b38 fix decl_nodiscard annotation for Linux builds Daan 2025-06-17 20:03:35 -07:00
  • 1b5ee4e2d0 skip purge after arenas destroy Daan 2025-06-17 19:59:12 -07:00
  • dcd6fd77b8 ensure the page submaps are zero initialized Daan 2025-06-17 19:50:45 -07:00
  • aaf8da9aba potential fix for use-after-free of the tld on unsafe arenas destroy Daan 2025-06-17 19:49:09 -07:00
  • 99976d6c2b fix merge error where commit bits in the pagemap were not set Daan 2025-06-17 19:34:32 -07:00
  • 2ce6568af6 fix compile error for mi_decl_nodiscard Daan 2025-06-17 18:44:17 -07:00
  • d8321f6d66 check commit success for pagemap extension so NULL can be returned instead of faulting (issue #1098) Daan 2025-06-17 18:05:12 -07:00
  • a18b692262 check commit success for pagemap extension so NULL can be returned instead of faulting (issue #1098) Daan 2025-06-17 18:05:12 -07:00
  • 878627072b add test for issue #1024 Daan 2025-06-17 06:03:05 -07:00
  • 09a27098aa Merge pull request #1103 from microsoft/daanx-patch-v3.1.5 main Daan 2025-06-13 22:22:36 -07:00
  • d21e2b8dd3 Update readme.md for v3.1.5 daanx-patch-v3.1.5 Daan 2025-06-13 22:18:51 -07:00
  • dc84ea7866 bump version to v3.1.6 for further development Daan 2025-06-13 22:11:38 -07:00
  • dfa50c37d9 nicefy mi_popcount v3.1.5 Daan 2025-06-13 21:45:06 -07:00
  • b10c0f87ee fix state of commit bits on commit failure Daan 2025-06-10 16:13:39 -07:00
  • 3243a2b105 add mi_bitmap_popcountN Daan 2025-06-10 16:11:56 -07:00
  • e2f16d3865 Merge branch 'dev' into dev3 Daan 2025-06-13 21:29:14 -07:00
  • 189b0ac416 count commit stats only if the commit succeeded dev Daan Leijen 2025-06-13 09:29:18 -07:00
  • ac4e3fd177 bump version to v3.0.5 Daan 2025-06-11 11:58:16 -07:00
  • f5ce881fdf fix state of commit bits on commit failure Daan 2025-06-10 16:13:39 -07:00
  • 088e32e4ef add mi_bitmap_popcountN Daan 2025-06-10 16:11:56 -07:00
  • b95268d46c only adjust commit stats on success Daan 2025-06-10 16:11:30 -07:00
  • 94e85f3dfb Merge branch 'dev' into dev3 Daan 2025-06-10 11:29:15 -07:00
  • c9541ac6e8 use sysinfo call on linux to determine physical memory (as _SC_PHYSPAGES may cause allocation) (issue #1100) daanx 2025-06-10 11:28:03 -07:00
  • 53f88dce76 add physical memory detection on macOS/freeBSD Daan 2025-06-10 11:00:20 -07:00
  • 886957ae70 Merge pull request #1099 from microsoft/dev2 Daan 2025-06-09 20:52:16 -07:00
  • 19a9f0a50b bump version to v3.1.5 for further development Daan 2025-06-09 20:07:11 -07:00
  • f89e039be0 Merge branch 'dev2' of https://github.com/microsoft/mimalloc into dev2 dev2 Daan 2025-06-09 20:04:25 -07:00
  • 73d7163e3a bump version to v2.2.5 for further development Daan 2025-06-09 20:04:06 -07:00
  • cfff6bfd47 bump version to v1.9.5 for further development Daan 2025-06-09 20:01:28 -07:00
  • f8a07227f1 Merge branch 'main' into dev2 Daan 2025-06-09 19:53:22 -07:00
  • fbd8b99c2b merge from dev v2.2.4 Daan 2025-06-09 19:23:05 -07:00
  • b0958d81fa merge from dev v3.1.4 Daan 2025-06-09 19:21:26 -07:00
  • 6d3c860769 update readme for upcoming release v1.9.4 Daan 2025-06-09 19:19:18 -07:00
  • 82b67862c8 update vcpkg config to 1.9.4 Daan 2025-06-09 19:18:51 -07:00
  • 316a434d8e fix armv7 detection Daan 2025-06-09 19:05:30 -07:00
  • 8253ac1bd9 Merge branch 'dev' into dev3 Daan 2025-06-08 16:59:30 -07:00
  • 58f061e552 Merge branch 'dev' into dev2 Daan 2025-06-08 16:59:19 -07:00
  • 3b2daccf9d fix build for TSAN tests Daan 2025-06-08 16:50:29 -07:00
  • 99ed3ea754 enable building for xbox, based on pr #1084 by @maxbachmann daanx 2025-06-08 16:41:04 -07:00
  • fda68e5fc4 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2025-06-08 16:04:29 -07:00
  • a981d40787 fix link error without static library build (by @fd00, PR #1082) Daan 2025-06-08 16:02:44 -07:00
  • 6c3519d7cc Merge pull request #1057 from Noxybot/fix_recursion_on_android Daan 2025-06-08 15:56:53 -07:00
  • 82cd900834 make macOS interposes compile for older macOS versions (by @noxybot, PR #1028) Daan 2025-06-08 15:54:01 -07:00
  • 8b2f774656 auto run azure pipeline Daan 2025-06-08 15:39:46 -07:00
  • 25fdd50666 return NULL in mi_arena_try_alloc_at if we cannot commit but commit was requested Daan 2025-06-08 15:36:10 -07:00
  • 4087acb85a Merge branch 'dev' into dev2 Daan 2025-06-07 10:25:06 -07:00
  • 45062f4357 merge from dev Daan Leijen 2025-06-07 10:14:55 -07:00
  • c1249a4b15 do not automatically call mi_process_done if mi_option_destroy_on_exit > 1 Daan Leijen 2025-06-07 10:12:53 -07:00
  • e7cbbbfb14 add mi_process_done to the api Daan Leijen 2025-06-07 09:51:35 -07:00
  • 47c0f90849 Merge branch 'dev' into dev2 Daan 2025-06-06 21:31:31 -07:00
  • 6cfc8ad9d0 improve handling of commit failure in arena allocation Daan 2025-06-06 21:29:33 -07:00
  • d8b7456a1f Merge branch 'dev' into dev3 Daan 2025-06-06 21:23:10 -07:00
  • d7d6c3b5c3 fix assertion Daan 2025-06-06 21:22:44 -07:00
  • e19f08aefe Merge branch 'dev' into dev3 Daan 2025-06-06 21:10:09 -07:00
  • f35b4f4460 Merge branch 'dev' into dev2 Daan 2025-06-06 21:09:57 -07:00
  • 57830a4b25 fix assertion in mi_os_ensure_zero Daan 2025-06-06 21:09:32 -07:00
  • eeab42be46 use mi_os_zalloc for submaps Daan 2025-06-06 21:04:24 -07:00
  • 2f0540c4f9 add _mi_os_zalloc Daan 2025-06-06 20:50:50 -07:00
  • 444902a4c8 Merge branch 'dev' into dev3 Daan 2025-06-06 20:15:27 -07:00
  • d7431402c5 fall back to MADV_DONTNEED if MADV_FREE_REUSABLE fails on macOS; disable use of MADV_FREE_REUSE on a reset (issue #1097) Daan 2025-06-06 20:15:16 -07:00
  • 2696627aaf add MI_UNUSED for unix _mi_prim_reuse Daan 2025-06-06 20:07:37 -07:00
  • 98c2bd2a3d Merge branch 'dev' into dev2 Daan 2025-06-06 18:05:41 -07:00
  • a067bd42ae merge from dev (support for mi_prim_reuse, #1097) Daan 2025-06-06 18:05:13 -07:00
  • d389819cc9 add initial support for _mi_prim_reuse and MADV_FREE_REUSABLE on macOS (issue #1097) Daan 2025-06-06 17:59:46 -07:00
  • b5caaad284 Merge branch 'dev' into dev2 Daan 2025-06-06 16:22:00 -07:00
  • aaedb58c09 Merge branch 'dev' into dev3 Daan 2025-06-06 15:53:59 -07:00
  • 2d34956bed use main instead of master in readme Daan 2025-06-06 15:53:28 -07:00
  • 317b22cdb1 check return value of mi_arena_commit, potential fix for #1098 Daan 2025-06-06 15:51:34 -07:00
  • c8c325c8cd fix merge error Daan 2025-06-06 15:46:31 -07:00
  • 5115ddd6e6 fix windows 32-bit compilation Daan 2025-06-06 15:29:59 -07:00