Commit graph

  • a0072ba7c3 fix base address if commit fails on aligned overallocation Daan 2025-06-03 15:07:15 -07:00
  • 60f7e6a6a8 check all os_commit calls and return NULL on failure Daan 2025-06-03 12:20:02 -07:00
  • 1c51484799 fix missing csize assignment in _mi_os_free_ex Daan 2025-06-03 11:36:07 -07:00
  • bea8a12d3d fix error path on commit failure to use correct base address Daan 2025-06-03 13:56:12 -07:00
  • 6454abb02b disable azure pipeline for windows 2019 as it is deprecated Daan 2025-06-03 13:43:17 -07:00
  • 4022df8085 fix build error on Ubuntu Daan 2025-06-03 13:41:45 -07:00
  • 86757dfbd6 improve precision of malloc_huge statistic by always using the global os stats Daan 2025-06-03 13:36:05 -07:00
  • 2157947ecf fix warning on Ubuntu 22 Daan 2025-06-03 12:39:47 -07:00
  • 9232c5c8a0 check all _mi_os_commit calls and return NULL if failing to commit Daan 2025-06-03 12:20:02 -07:00
  • f515de6d7b fix2 Eduard Voronkin 2025-06-03 12:03:12 -07:00
  • 5c0effd421 fix missing csize assignment in _mi_os_free_ex Daan 2025-06-03 11:36:07 -07:00
  • 157b201004 minor comment iurii zakipnyi 2025-06-03 09:39:05 -07:00
  • 76b631254d Apple friendly way to madvice on commit/decommit iurii zakipnyi 2025-06-03 09:23:42 -07:00
  • 33d5ea5cd2 fix Eduard Voronkin 2025-06-02 22:27:38 -07:00
  • 076df2b8bb do not touch uncommitted memory Eduard Voronkin 2025-06-02 21:38:32 -07:00
  • bfa8982d4b
    Merge pull request #1094 from daanx/issue/dev3/1087 Daan 2025-05-30 18:40:30 -07:00
  • d2e259cb57
    Merge pull request #1093 from daanx/main Daan 2025-05-30 10:16:04 -07:00
  • 2d16d2ca84 update azure pipeline trigger for the main branch (instead of master) Daan 2025-05-30 10:08:28 -07:00
  • e19c022238 define mi_decl_align separate from mi_decl_cache_align daanx 2025-05-30 09:36:38 -07:00
  • 715acc0329 mark assert_fail as cold and noreturn; move assert to internal.h (see issue #1091, and python/cpython#134586) daanx 2025-05-30 09:29:35 -07:00
  • 349dee040a fix page map resolving for low addresses (issue #1087) daanx 2025-05-30 09:02:21 -07:00
  • f8b10a67da mark _mi_assert_fail as noreturn, cold and throw Bénédikt Tran 2025-05-30 14:54:49 +02:00
  • 31d1a38eab
    Merge pull request #1090 from daanx/main Daan 2025-05-29 12:15:43 -07:00
  • b263783582 update readme Daan 2025-05-29 12:12:02 -07:00
  • 2c839e7090 fix statistics for tracking the freed size of huge pages Daan 2025-05-28 16:37:02 -07:00
  • 550b628358 merge from dev daanx 2025-05-28 08:38:54 -07:00
  • 84c9cddb70 Merge branch 'dev' into dev2 daanx 2025-05-28 08:38:01 -07:00
  • 3e32b4c385 fix OS allocation size tracking in the memid daanx 2025-05-28 08:37:34 -07:00
  • b29c92825b Merge branch 'dev' into dev3 Daan 2025-05-21 19:21:25 -07:00
  • a7cecc7e47 Merge branch 'dev' into dev2 Daan 2025-05-21 19:20:41 -07:00
  • 44e370bdaa fix format specifier in stat output Daan 2025-05-21 19:20:31 -07:00
  • d51e33b18e add _mi_stats_init to initialize the process start time daanx 2025-05-21 19:11:47 -07:00
  • 4bf6ae693a get Windows version dynamically daanx 2025-05-21 17:58:24 -07:00
  • 6cb4861f3e fix format specifier for numa nodes Daan 2025-05-21 17:36:31 -07:00
  • 5952e17391 Merge branch 'dev2' of https://github.com/microsoft/mimalloc into dev2 daanx 2025-05-21 16:50:39 -07:00
  • befe57f3e7 don't reset stats at process start so page_map commit is included daanx 2025-05-21 16:50:30 -07:00
  • 948c568665 merge daanx 2025-05-21 16:33:44 -07:00
  • fc1a29180b fix api test for 32-bits Daan 2025-05-21 16:33:16 -07:00
  • 8a66ae818a always use non-flat map in secure mode and validate pointers passed to free daanx 2025-05-21 16:32:06 -07:00
  • 09c2b7fdcf Merge remote-tracking branch 'T9/dev3' into dev3 Daan 2025-05-21 16:08:44 -07:00
  • 4161152d17 fix valid pointer check for low addresses (#issue 1087) daanx 2025-05-21 16:04:13 -07:00
  • c2621f8fbe Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 daanx 2025-05-21 15:56:07 -07:00
  • 932cea0058 fix output for api test Daan 2025-05-21 15:33:25 -07:00
  • 0c62893367 fix merge conflict Daan 2025-05-21 15:28:52 -07:00
  • ed474ce525 merge 3b567b1 to track pages statistics correctly Daan 2025-05-21 15:20:06 -07:00
  • 6c2cfd7830 ensure page stats are done on the subproc stats in case the tld is NULL Daan 2025-05-21 09:20:29 -07:00
  • 752dc834a9 merge 3301ba0 to fix page_bin and pages statistics Daan 2025-05-20 18:15:36 -07:00
  • f2c9967a6e merge from dev Daan 2025-05-21 15:13:54 -07:00
  • cf7fa1cf65 merge from dev Daan 2025-05-21 15:07:22 -07:00
  • 08c33768a5 fix stats for pages and page_bins Daan 2025-05-21 11:09:34 -07:00
  • 3b567b1054 ensure page stats are done on the subproc stats in case the tld is NULL Daan 2025-05-21 09:20:29 -07:00
  • a7411ae9c5 use proper atomics for the page_map daanx 2025-05-20 21:04:17 -07:00
  • 3301ba09b4 fix page_bin and pages statistics; merge thread-local statistics regularly with main statistics; bump version to 3.0.4 Daan 2025-05-20 18:15:36 -07:00
  • 7ec98efee7
    Fix: Prevent out-of-bounds read in mi_ctz_generic32 and mi_clz_generic32 Vedant Ravindra Dhoke 2025-05-17 15:52:26 -04:00
  • 20a0b1ffde refine test for allowing page reclaim on free to limit reclaim if the originating heap is part of a threadpool daanx 2025-05-13 20:35:43 -07:00
  • bc18e9456e Merge branch 'dev' into dev3 Daan 2025-05-13 17:46:10 -07:00
  • f81115d980 Merge branch 'dev' into dev2 Daan 2025-05-13 17:46:03 -07:00
  • 15c917ef15 fix syntax error Daan 2025-05-13 17:45:10 -07:00
  • 45d984d5d2 Merge branch 'dev' into dev2 Daan 2025-05-13 17:43:54 -07:00
  • 9864428349 merge from dev Daan 2025-05-13 17:43:48 -07:00
  • 41cc1bfe51 add guarded TLS test for Windows fixed TLS daanx 2025-05-13 17:38:16 -07:00
  • df3e191620 make windows fixed TLS opt-in Daan 2025-05-13 16:38:53 -07:00
  • 251d40945b Merge branch 'dev' into dev3 Daan 2025-05-13 16:22:31 -07:00
  • 0ae310327f fix debug assertion for windows TLS Daan 2025-05-13 16:22:08 -07:00
  • 21378d6d8a merge from dev Daan 2025-05-13 16:13:34 -07:00
  • d87bcd0027 Merge branch 'dev' into dev2 Daan 2025-05-13 16:07:04 -07:00
  • 72f05e2f07 fix guarded sample rate of 1 (issue #1085) daanx 2025-05-13 15:58:45 -07:00
  • a6ecb5c299 fix format specifier (for alpine linux x86, issue #1086) daanx 2025-05-13 15:35:29 -07:00
  • 341149391f fix include of prctl.h on alpine linux x86 daanx 2025-05-13 15:33:29 -07:00
  • 0184a86eaf add alpine x86 docker file daanx 2025-05-13 15:32:11 -07:00
  • 0f7004ad5e Merge branch 'dev2' of https://github.com/microsoft/mimalloc into dev2 daanx 2025-05-13 14:44:50 -07:00
  • ad0764272a potential fix for low address allocations, issue #1087 daanx 2025-05-13 14:41:40 -07:00
  • a92f86dc73 add page_cross_thread_max_reclaim option daanx 2025-05-13 14:12:22 -07:00
  • 3ef6784455 destroy the page map as well if MIMALLOC_DESTROY_ON_EXIT is set; see issue #1041 daanx 2025-05-12 22:05:15 -07:00
  • 36e1cbfdbc change default page_reclaim_max and change reclamation test to potentially address perf regresion in mimalloc v3 with respect to v2 -- see also https://github.com/leanprover/lean4/pull/7786 Daan Leijen 2025-05-12 18:02:42 -07:00
  • f788746143 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 daanx 2025-05-07 22:42:24 -07:00
  • 0a8cffcbba
    fix build on non desktop windows app partitions Max Bachmann 2025-05-06 23:49:23 +02:00
  • c84d996e88 fix TLS initialization for MI_WIN_USE_FIXED_TLS with redirection daanx 2025-05-05 10:23:52 -07:00
  • 1aa832873b Merge branch 'dev' into dev3 Daan 2025-05-04 22:19:46 -07:00
  • c3e45a579f Merge branch 'dev' into dev2 Daan 2025-05-04 22:19:32 -07:00
  • e2d7c24c73 add fixed TLS slot test to pipeline on Windows Daan 2025-05-04 22:17:59 -07:00
  • 303b196d40 fix MI_WIN_USE_FIXED_TLS conditions daanx 2025-05-04 22:09:56 -07:00
  • 6bf8a8c4ae Merge branch 'dev' into dev3 daanx 2025-05-04 22:03:19 -07:00
  • 52b75693c4 use TlsAlloc with a dynamic offset for MI_WIN_USE_FIXED_TLS by default (issue #1078) daanx 2025-05-04 22:03:10 -07:00
  • 08d91e2101 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daanx 2025-05-04 21:41:41 -07:00
  • 63b0989df5 revert use of selectany for msvc (issue #1078) Daan 2025-05-04 21:41:26 -07:00
  • 846bb85634 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 daanx 2025-05-04 20:12:19 -07:00
  • a74eed4f33 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daanx 2025-05-04 20:12:09 -07:00
  • ccaa4a1de9 merge from dev Daan 2025-05-04 19:55:35 -07:00
  • 39e16518a3 Merge branch 'dev' into dev2 Daan 2025-05-04 19:52:49 -07:00
  • 9c24c428cb add more decl_hidden specifiers on extern variables to improve access on arm64 daanx 2025-05-04 09:10:38 -07:00
  • 9194362e48 improve TLS access on Windows with msvc (by Frank Richter, issue #1078) daanx 2025-05-04 09:04:57 -07:00
  • f4d54c60e3 merge from dev daanx 2025-05-04 09:15:57 -07:00
  • 7334d7df07 Merge branch 'dev' into dev2 daanx 2025-05-04 09:10:45 -07:00
  • f989a1cbb9 add more decl_hidden specifiers on extern variables to improve access on arm64 daanx 2025-05-04 09:10:38 -07:00
  • e4c5d09d65 improve TLS access on Windows with msvc (by Frank Richter, issue #1078) daanx 2025-05-04 09:04:57 -07:00
  • 495e09c6f1 fix link error without static library Daisuke Fujimura (fd0) 2025-05-04 09:37:07 +09:00
  • 738e98690f Merge branch 'dev' into dev2 Daan 2025-05-02 16:37:08 -07:00
  • ab056e83b8 merge from dev Daan 2025-05-02 16:36:18 -07:00
  • a080e3263a Merge remote-tracking branch 'T9/dev' into dev Daan 2025-05-02 16:34:51 -07:00