Commit graph

  • aa0f6978dd Merge branch 'dev3' into dev3-bin Daan 2025-02-11 16:30:22 -08:00
  • b7779c7770 merge from dev Daan 2025-02-11 16:30:03 -08:00
  • 2775be9bed disable page commit_on_demand by default Daan 2025-02-11 16:28:08 -08:00
  • cd2763aa3d fix compile warnings and assertion Daan 2025-02-11 16:27:25 -08:00
  • 0cbdcfac94 fix signed warning Daan 2025-02-11 16:07:35 -08:00
  • 6444cbc422 Merge branch 'dev3' into dev3-bin Daan 2025-02-11 16:05:07 -08:00
  • 96c8e5c924 Merge branch 'dev3-bin' of /Volumes/T9/dev/mimalloc into dev3-bin Daan 2025-02-11 16:04:43 -08:00
  • d9439a7e39 merge from dev daanx 2025-02-11 14:47:20 -08:00
  • ece1defe5b parameter of clz/ctz is size_t daanx 2025-02-11 14:35:21 -08:00
  • c62d276835 optimize mi_bin daanx 2025-02-11 14:27:01 -08:00
  • 44a4c83fbf maintain count in pagequeue for constant time test in free.c daanx 2025-02-11 13:56:58 -08:00
  • e81ddcb786 Merge branch 'dev3' into dev3-bin daanx 2025-02-11 13:07:20 -08:00
  • 482d8e1ae7 Merge branch 'dev' into dev2 Daan 2025-02-11 09:52:10 -08:00
  • 63b8f8f753 fix assertion condition daanx 2025-02-11 09:47:03 -08:00
  • 69a5fbb1f3 avoid overflow in max address calculation on 32-bit (issue #1010) daanx 2025-02-11 09:32:13 -08:00
  • f905c14f09 Merge branch 'dev' into dev3 daanx 2025-02-11 09:22:37 -08:00
  • d3897635ad fix compilation warning daanx 2025-02-11 09:22:31 -08:00
  • 02b97b6891 merge from dev daanx 2025-02-11 09:21:48 -08:00
  • 0c8069adab use physical memory in kib to avoid overflow of size_t (issue #1010) daanx 2025-02-11 09:18:23 -08:00
  • ec4aa62b65 use physical memory in kib to avoid overflow of size_t (issue #1010) daanx 2025-02-11 09:12:29 -08:00
  • 42fc328eab Merge branch 'dev3' into dev3-bin Daan 2025-02-10 21:25:41 -08:00
  • c820259f3b fix heap_main declaration Daan 2025-02-10 21:25:30 -08:00
  • 8755369301 Merge branch 'dev' into dev3 Daan 2025-02-10 20:55:51 -08:00
  • 0d7956c7c2 Merge branch 'dev' into dev2 Daan 2025-02-10 20:55:41 -08:00
  • 78dd3f0e38 add mi_is_redirected back (issue #993) Daan 2025-02-10 20:55:30 -08:00
  • e92358ba49 merge from dev; add _mi_heap_main_get (issue #1010) Daan 2025-02-10 20:42:29 -08:00
  • 1d3d193561 make heap_main mi_decl_hidden Daan 2025-02-10 20:37:01 -08:00
  • 5ce6f9f407 Merge branch 'dev' into dev2 Daan 2025-02-10 20:29:46 -08:00
  • a7a0db06d5 merge from dev Daan 2025-02-10 20:28:53 -08:00
  • 156687ac8b rename to mi_thread_set_in_threadpool Daan 2025-02-10 20:26:19 -08:00
  • aae2e0b2f6 merge from dev Daan 2025-02-10 20:15:42 -08:00
  • 08ebe070a4 add mi_heap_set_in_threadpool daanx 2025-02-10 20:11:52 -08:00
  • 1d78531a64 update minject to take target arch into account (issue #997) daanx 2025-02-10 20:02:02 -08:00
  • 89d629317f limit page_reclaim to page queues of less than 4 pages; make page_commit_on_demand 0 by default. Daan 2025-02-10 12:45:38 -08:00
  • 9f1c0054b8 Merge branch 'dev3' into dev3-bin Daan 2025-02-09 19:27:21 -08:00
  • 34a66514c0 Merge branch 'dev' into dev2 Daan 2025-02-09 19:27:07 -08:00
  • 02311cb126 Merge branch 'dev' into dev3 Daan 2025-02-09 19:24:23 -08:00
  • 3e7875066b add dynamic override test on windows daanx 2025-02-09 19:22:26 -08:00
  • a1cb38b70e fix link error in debug mode in test Daan 2025-02-09 19:10:33 -08:00
  • 8a036ee2b0 Merge branch 'dev' into dev3 Daan 2025-02-09 18:55:24 -08:00
  • 84aadcb087 avoid link error with asan/c++ Daan 2025-02-09 18:55:14 -08:00
  • 11f4da7ea5 add simd test on windows Daan 2025-02-09 18:46:55 -08:00
  • a78321b31b Merge branch 'dev3' into dev3-bin Daan 2025-02-09 18:44:50 -08:00
  • 54cf68b678 Merge branch 'dev' into dev3 Daan 2025-02-09 18:44:39 -08:00
  • 8199a7f952 Merge branch 'dev' into dev2 Daan 2025-02-09 18:44:29 -08:00
  • 62833be9eb disable dynamic override test on ubsan/tsan/asan Daan 2025-02-09 18:44:17 -08:00
  • 667df6e0d6 Merge branch 'dev3' into dev3-bin Daan 2025-02-09 18:38:32 -08:00
  • f3c86bd976 add simd test in azure pipeline Daan 2025-02-09 18:38:15 -08:00
  • 6bdf5a7a42 merge from dev Daan 2025-02-09 18:35:35 -08:00
  • 5f43fe91e0 Merge branch 'dev' into dev2 Daan 2025-02-09 18:34:53 -08:00
  • 7dd598e0e8 add dynamic override test Daan 2025-02-09 18:32:16 -08:00
  • 35e81c1a3d Merge branch 'dev3' into dev3-bin Daan 2025-02-09 09:15:15 -08:00
  • d8c119cc4f add mi_decl_maybe_unused; fix compilation with OPT_SIMD (issue #1009) Daan Leijen 2025-02-09 08:56:22 -08:00
  • fe5258a179 change process initialization order (potential fix for issue #1007) Daan 2025-02-08 23:33:16 -08:00
  • 06ade47b05 fix is_huge definition Daan 2025-02-08 23:26:45 -08:00
  • 1f433881c3 Merge branch 'dev3-bin' Daan 2025-02-08 13:19:27 -08:00
  • 06ced84829 Merge branch 'dev2' Daan 2025-02-08 13:18:09 -08:00
  • 8d9b6b2b9e merge from dev3 daanx 2025-02-08 13:14:19 -08:00
  • 9dd753d2c0 add comment daanx 2025-02-08 13:12:19 -08:00
  • 4d1b0f0dbb Merge branch 'dev' into dev3 daanx 2025-02-08 12:52:15 -08:00
  • f945d35d27 Merge branch 'dev' into dev2 Daan Leijen 2025-02-08 12:51:34 -08:00
  • 5f9b42685e remove declspec(dllexport) from DllMain on Windows (issue #1008) Daan Leijen 2025-02-08 12:51:06 -08:00
  • c7f7c23dc1 make C compatible Daan Leijen 2025-02-08 12:43:00 -08:00
  • 1500d73e9a Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 daanx 2025-02-08 12:20:53 -08:00
  • 53917d45ab merge from dev Daan 2025-02-08 12:20:24 -08:00
  • 069279e3e7 improve cmake for multi-arch binaries on apple Daan 2025-02-08 12:18:27 -08:00
  • 4e366c4320 support mixed architecture binaries on apple Daan 2025-02-08 12:16:19 -08:00
  • 65a89854d1 Merge branch 'dev' into dev2 Daan 2025-02-08 12:06:48 -08:00
  • 0e9159e0bf add comment Daan 2025-02-08 12:06:39 -08:00
  • 6d350ab850 set the option commit_on_demand back to 2 as we only do this for medium/large pages daanx 2025-02-08 11:51:18 -08:00
  • cb2719cdb8
    Merge pull request #999 from jbatez/dev Daan 2025-02-08 11:46:07 -08:00
  • 152804bb9f
    Merge pull request #1006 from sergio-nsk/sergio-nsk/uwp/1 Daan 2025-02-08 11:42:21 -08:00
  • 2048fa2d17 fix comments daanx 2025-02-08 09:53:00 -08:00
  • 2017181a69 improve performance of clearNX daanx 2025-02-08 09:36:09 -08:00
  • bc7fe059a6 improve performance of mi_free_collect_mt by specializing mi_page_unown daanx 2025-02-08 09:35:52 -08:00
  • 9b7914fd3f fix bug in mi_page_free_collect_partly where the tail of the free list was kept daanx 2025-02-08 09:35:21 -08:00
  • ca25fb3d17 avoid reload on clearing mask daanx 2025-02-07 17:38:53 -08:00
  • 9053cf0cd2 prim: fix dev3 UWP build (#1005) Sergey Markelov 2025-02-07 12:35:59 -07:00
  • 7931678899 further optimize mi_bchunk_try_find_and_clearNX daanx 2025-02-06 22:59:14 -08:00
  • 1ee72dc6d6 Merge branch 'dev3' into dev3-bin Daan 2025-02-06 17:08:16 -08:00
  • 64aaf9d88f fix performance bug in mi_bchunk_try_find _and_clearNX Daan 2025-02-06 17:08:06 -08:00
  • 63e625d9f8 Merge branch 'dev3' into dev3-bin Daan 2025-02-06 11:56:33 -08:00
  • 4c562f392a allow page reclaim on free to the originating heap also within a threadpool daanx 2025-02-06 11:53:22 -08:00
  • 3d767ebef6 use regular free in zone_free on macos Daan 2025-02-05 21:20:44 -08:00
  • 515047b676 improve free on macos Daan 2025-02-05 20:55:21 -08:00
  • f13f8b3e07 Merge branch 'dev3' into dev3-bin daanx 2025-02-05 16:01:54 -08:00
  • 1657bfb453 clarify control flow and comments in page reclaim_on_free daanx 2025-02-05 16:01:45 -08:00
  • dddf732c60 merge from dev3 daanx 2025-02-05 15:44:23 -08:00
  • 5aa679cdee make page_reclaim_on_free 0 by default; but allow reclaim_on_free if the page was originally in this heap (just as in v2 with the full queue) daanx 2025-02-05 15:41:37 -08:00
  • 5fbba3f20c fix sign of comparison daanx 2025-02-05 14:27:36 -08:00
  • 27895ce35d fix guard page size calculation in secure mode daanx 2025-02-05 14:25:36 -08:00
  • 1e0801dcea call page_free_collect less often from a page search daanx 2025-02-04 20:15:38 -08:00
  • 3443dd01d9 Merge branch 'dev3-bin' of /Volumes/T9/dev/mimalloc into dev3-bin Daan 2025-02-04 20:18:16 -08:00
  • 348a2b12f2 Merge branch 'dev3' into dev3-bin Daan 2025-02-04 20:17:51 -08:00
  • df172843d1 call page_free_collect less often from a page search daanx 2025-02-04 20:15:38 -08:00
  • 54c90fcac4 Merge branch 'dev3' into dev3-bin daanx 2025-02-04 19:49:46 -08:00
  • 8fc8da5d81 use thread local stats for abandoned statistics to reduce contention Daan Leijen 2025-02-04 17:54:49 -08:00
  • b0c8d86c41 refactor mi_free_try_collect_mt Daan Leijen 2025-02-04 15:03:27 -08:00
  • db7930f961 avoid atomics in mi_free_try_collect_mt Daan Leijen 2025-02-04 14:58:08 -08:00
  • 59eeeadc34 only allow page_reclaim_on_free for small block pages Daan Leijen 2025-02-04 12:26:21 -08:00