Commit Graph
256 Commits
Author SHA1 Message Date
Daan 8b8e689b91 merge from dev 2024-05-11 09:40:54 -07:00
Daan 0dcdc55bbd better aligned test 2024-05-11 07:09:30 -07:00
Daan c70c1df16a better fast path for aligned allocation; check max alloc size correctly in the aligned fallback 2024-05-10 20:19:17 -07:00
Daan c13c17f1d0 Merge pull request #864 from rHermes/fix-passing-heap
Avoid compilation error when passing in heap_t to C++ allocators
2024-04-19 10:07:55 -07:00
Daan 06b510c42d fix build pipeline for ASAN 2024-04-19 09:41:24 -07:00
Daan Leijen 6688b45fbd rename MI_ALIGNMENT_MAX to MI_BLOCK_ALIGNMENT_MAX for clarity 2024-03-24 10:57:02 -07:00
Teodor Spæren 3d89f6388e Fix std::shared_pointer calling free on provided heap pointers 2024-03-09 15:14:32 +01:00
daanx 5fe83bf327 limit reclaim from free to half the segments to prevent a pure freeing thread to reclaim too many segments 2024-03-03 17:38:50 -08:00
daanx 70e3ce07d1 Merge branch 'dev' into dev-abandon 2024-03-02 17:34:58 -08:00
Daan c6750c51ab Fix new[] / delete mismatch. #745 2024-03-02 17:16:03 -08:00
daanx 16c0948ee5 improve display of arenas and contained blocks 2024-03-01 16:24:28 -08:00
daanx 931d523dcc update mstress to let the main thread participate 2024-02-29 18:17:58 -08:00
daanx 097aebbbe2 merge from dev; add mi_malloc_expandable 2023-05-19 19:16:36 -07:00
daanx 707c196656 ensure mem defined after remap 2023-05-18 18:08:06 -07:00
daanx 09f171b4f5 always use MI_HUGE_BLOCK_SIZE for pages in huge segments 2023-05-17 13:27:04 -07:00
daanx 7897433412 fix warnings 2023-05-02 18:31:07 -07:00
daanx 8fffc92e15 realloc uses remap automatically after remap_threshold 2023-05-02 18:25:47 -07:00
daanx ac21489ce7 remap: refactoring and start on expandable 2023-05-02 15:07:07 -07:00
daanx 1246f46625 wip: initial working windows remap 2023-04-29 15:37:14 -07:00
daanx e4c914565d wip: further improvement for remap 2023-04-29 10:00:47 -07:00
daanx 3e1c1f8e9f wip: enable mremap 2023-04-29 09:29:20 -07:00
daanx 0c0a753aa0 wip: adding mi_remap; first working version 2023-04-26 16:06:36 -07:00
daanx be2f35641a wip: remappable memory 2023-04-26 12:23:38 -07:00
daanx 2a6352fef2 add further zero initialization checks 2023-04-22 10:18:57 -07:00
daanx 173382ef60 is_zero review; fix asan check 2023-04-18 17:52:16 -07:00