Commit graph

  • f1fa26f503 LTO/IPO optional support proposal. cmake version jump mostly for windows/VS. David Carlier 2022-12-04 15:28:53 +00:00
  • aea0de4777
    Fix typo Ganesan Rajagopal 2022-12-03 16:27:33 +05:30
  • 089e85b113 Make MIMALLOC_SHOW_STATS work with redirected stderr Johannes Schindelin 2022-08-12 14:23:36 +02:00
  • edb181c377 Lazy-link to bcrypt Johannes Schindelin 2022-08-12 13:49:22 +02:00
  • 948a0c44df Lazy-load psapi.dll Johannes Schindelin 2019-10-20 22:05:35 +02:00
  • 11cab6a0c0 Avoid %z format Johannes Schindelin 2022-08-12 13:41:53 +02:00
  • 2c40e0d02f Allow running in Windows Nano Server containers Johannes Schindelin 2022-10-18 11:03:03 +02:00
  • 745a34f475 Fix whitespace Johannes Schindelin 2022-12-03 00:23:43 +01:00
  • 6304bbec6e Merge branch 'dev' into dev-slice Daan Leijen 2022-11-28 11:12:52 -08:00
  • ddc9841019 fix parameters for mi_track_free Daan Leijen 2022-11-28 11:12:35 -08:00
  • 911ea81630 Merge branch 'dev' into dev-slice Daan Leijen 2022-11-28 10:55:35 -08:00
  • 10981ab122 add initial support for using mimalloc with address sanitizer support; use -DMI_ASAN=ON Daan Leijen 2022-11-28 10:55:19 -08:00
  • 76db72814c fix unused parameter warning in clang Daan Leijen 2022-11-28 10:54:45 -08:00
  • e42a22c9ca fix warnings Daan Leijen 2022-11-28 09:59:48 -08:00
  • 90c8f0516c Merge branch 'dev' into dev-slice Daan Leijen 2022-11-28 09:18:04 -08:00
  • be2bc9e7ca better attributes on new/delete overrides for Microsoft visual C++ Daan Leijen 2022-11-28 09:15:16 -08:00
  • 7da4a34dc1 Make "destroy" a compile-time constant + fix const allocator comparisons Vadim Markovtsev 2022-11-28 11:55:58 +01:00
  • 447c2f18c5 Merge branch 'dev' into dev-slice Daan Leijen 2022-11-27 13:00:30 -08:00
  • c1299484de refactor C++ STL allocator definitions (pr #651) Daan Leijen 2022-11-27 13:00:15 -08:00
  • 4295b9cc5f
    Merge pull request #651 from vmarkovtsev/dry Daan 2022-11-27 12:12:11 -08:00
  • 6988bbcca0 fix duplicate definition (issue #652 Daan Leijen 2022-11-27 12:01:56 -08:00
  • afb5468ded Merge branch 'dev' into dev-slice Daan 2022-11-25 16:38:46 -08:00
  • 8098040c23 add pointer validity check on malloc_size when overriding on macOSX; issue #638 Daan 2022-11-25 16:38:20 -08:00
  • 2d79ae7ecf Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2022-11-25 15:44:31 -08:00
  • 81b261e657 add test for #587 Daan 2022-11-25 15:44:24 -08:00
  • 55dac20805 Merge branch 'dev' into dev-slice Daan Leijen 2022-11-25 14:28:06 -08:00
  • 604d4b259b fix assertion failure (issue #650) Daan Leijen 2022-11-25 14:27:48 -08:00
  • 78af17e3b3 add extra alignment test Daan 2022-11-25 14:03:00 -08:00
  • 4cdfc18888 Refactor C++ allocators to be DRY and protected Vadim Markovtsev 2022-11-24 15:13:19 +01:00
  • 58d12723d6 make mi_collect(true) actually free the segment caches Daan Leijen 2022-11-23 10:34:19 -08:00
  • c613c1de94 merge from dev Daan Leijen 2022-11-23 10:10:55 -08:00
  • 4b56af178e remove ,not all freed, messag e from reserved and committed stats (as that is expected at normal process exit) Daan Leijen 2022-11-23 10:06:35 -08:00
  • a7bd9c08c8 fix decommit of huge pages Daan Leijen 2022-11-23 09:58:45 -08:00
  • 9e56567d23 fix decommit for huge objects Daan Leijen 2022-11-23 09:50:29 -08:00
  • 20880807ce remove comment Daan Leijen 2022-11-22 22:05:18 -08:00
  • ed82aa90ea merge from dev where huge objects are now part of page queues again Daan Leijen 2022-11-22 21:54:58 -08:00
  • e7dac7c405 prevent retiring pages in the huge queue (which may have a small size but huge alignment) Daan Leijen 2022-11-22 21:02:05 -08:00
  • db0a69b482 remove comment Daan Leijen 2022-11-22 20:57:31 -08:00
  • 969d8bc5fe make huge pages part of the regular page queues again Daan Leijen 2022-11-22 20:56:35 -08:00
  • 85b5fa11bc merge segment_init refactoring from dev Daan Leijen 2022-11-22 19:03:26 -08:00
  • fed883c81f refactor mi_segment_init fix Daan Leijen 2022-11-22 18:44:27 -08:00
  • 00a42bf379 refactor mi_segment_init Daan Leijen 2022-11-22 18:42:05 -08:00
  • 78690fbec2 fix proteced status in stl allocator (pr #625)# Daan Leijen 2022-11-22 18:41:51 -08:00
  • 7dce31f743 reenable decommitting of a huge aligned prefix Daan Leijen 2022-11-22 18:13:27 -08:00
  • 061bbe25b0 update readme Daan Leijen 2022-11-22 17:17:14 -08:00
  • 9617f16df9 add STL allocators that use a specific heap and can destroy at the end; see original PR #625 by @vmarkovtsev Daan Leijen 2022-11-22 16:58:32 -08:00
  • 6e2b077b35 rename to heap_alloc_new and heap_alloc_new_n Daan Leijen 2022-11-22 14:48:26 -08:00
  • 34910664f1 add mi_heap_new_ and mi_heap_new_n Daan Leijen 2022-11-22 14:46:23 -08:00
  • d01ecc272b Merge branch 'dev' into dev-slice Daan 2022-11-22 10:58:40 -08:00
  • fe300ca141 fix extern inline definition (issue #643) Daan 2022-11-22 10:58:02 -08:00
  • 631f22fbda change library linkage to PRIVATE (issue #646) Daan 2022-11-22 10:54:40 -08:00
  • 83c027c4bf fix medium page size to 512k Daan Leijen 2022-11-21 18:56:56 -08:00
  • c007747169 back to 64k pages but 32MiB segments and a 1MiB minimal commit size Daan Leijen 2022-11-21 15:03:15 -08:00
  • 3ccf849c1a more refined decommit extend delay Daan Leijen 2022-11-21 15:02:41 -08:00
  • b164f6cde3
    Merge dcbe772f1f into e6ab602ca1 David CARLIER 2022-11-21 14:45:38 -08:00
  • 961778f0a7 Merge branch 'dev' into dev-slice Daan Leijen 2022-11-21 10:25:36 -08:00
  • e6ab602ca1 add comment Daan Leijen 2022-11-21 10:24:02 -08:00
  • 1a7f6f376d move threadid field Daan Leijen 2022-11-21 10:22:50 -08:00
  • 163afcce75 merge from dev with the destroy_on_exit option Daan Leijen 2022-11-21 10:03:52 -08:00
  • 35d332141d experimental destroy_on_exit option for statically linked mimalloc in a dynamically unloaded DLL Daan Leijen 2022-11-18 11:00:23 -08:00
  • 7ebd1c6daf merge from dev Daan Leijen 2022-11-18 10:22:45 -08:00
  • 18cf94dff6 move keys field in the page struct to keep offsets in the fast path the same for different build variants Daan Leijen 2022-11-18 10:14:37 -08:00
  • 8834e128e8 improve mi_free codegen Daan Leijen 2022-11-18 10:13:51 -08:00
  • 82a765a255 experiment with 32KiB slices and increased MI_MIN_EXTEND Daan Leijen 2022-11-18 09:38:01 -08:00
  • b940543cd5 experiment with smaller segment size (32MiB) and finer minimal commit (1MiB) Daan Leijen 2022-11-17 18:57:45 -08:00
  • c7d4a099d9
    Merge pull request #641 from ofek/patch-1 Daan 2022-11-07 18:00:10 -08:00
  • ba8c0f8903 avoid warning for large aligned blocks on linux daan 2022-11-07 17:21:03 -08:00
  • 67439bb4e5 add NULL check in _mi_segment_of daan 2022-11-07 17:12:14 -08:00
  • 89ba6cc2fa merge from dev daan 2022-11-07 16:48:00 -08:00
  • 2479d168ad decommit unused prefix of large aligned blocks daan 2022-11-07 16:41:40 -08:00
  • a27637acb3 merge from dev daan 2022-11-07 14:58:17 -08:00
  • 27fc2cf17e fix random initializer daan 2022-11-07 14:57:07 -08:00
  • 56ab9ee06a update azure pipeline to ubuntu 22.04 daan 2022-11-07 14:55:36 -08:00
  • 29405c7d70 fix initializer daan 2022-11-07 14:53:27 -08:00
  • c26c5da016 Merge branch 'dev' into dev-slice daan 2022-11-07 14:51:18 -08:00
  • 841172bd7d fix link error on windows daan 2022-11-07 14:51:07 -08:00
  • 3e1d800e9b potential fix for windows static linking with thread creation in dll's daan 2022-11-07 14:47:53 -08:00
  • 5d6b149ea9 bump version to v2.0.8 for further development daan 2022-11-07 11:37:22 -08:00
  • 312ce6f916 bump version to v1.7.8 for further development daan 2022-11-07 11:36:44 -08:00
  • c55cc260ab merge from dev-align daan 2022-11-07 11:29:03 -08:00
  • 2daec6c72f add more comments daan 2022-11-07 11:23:04 -08:00
  • 1f12c3dd12 remove MI_ALIGNMENT_MAX and add comments daan 2022-11-07 11:13:42 -08:00
  • 711aad7a75 refactor arena allocation daan 2022-11-07 11:13:29 -08:00
  • 96f1574faf fix huge page aligned allocation size in secure mode daan 2022-11-07 10:51:15 -08:00
  • 1632dd73c9 remove superfluous asserts daan 2022-11-06 21:03:23 -08:00
  • 651a99b35d refine last slice setting for large alignments daan 2022-11-06 20:57:27 -08:00
  • 562efed54d fix full SEGMENT_SIZE internal alignment by adding one more slice entry daan 2022-11-06 20:36:51 -08:00
  • 4814a649be merge from dev-align daan 2022-11-06 16:23:42 -08:00
  • d1ae630dec Merge branch 'dev-align' of https://github.com/microsoft/mimalloc into dev-align dev-align Daan 2022-11-06 14:51:37 -08:00
  • 3eb616f2bf fix bug in secure mode where adjustment would make the page size less than the blocksize on the first page of a segment Daan 2022-11-06 14:51:06 -08:00
  • f788e3c9a3 add comment daan 2022-11-06 14:18:52 -08:00
  • d3715132d1 move null ptr check Daan 2022-11-06 09:52:54 -08:00
  • f54e64365f fix assertions with incorrect block size for large alignments Daan 2022-11-06 09:44:12 -08:00
  • a200291ae5 further progress on removing aligned limit daan 2022-11-06 08:26:17 -08:00
  • 4b91ff760d initial working large alignment daan 2022-11-05 16:40:42 -07:00
  • 6a80fa3ac1 initial progress on removing alignment limit daan 2022-11-05 14:46:52 -07:00
  • 18a4b90501
    Fix typo Ofek Lev 2022-11-05 16:29:18 -04:00
  • 0e3d543a13
    Update readme.md Daan 2022-11-03 17:11:21 -07:00
  • 91ba1f374d merge from dev v2.0.7 daan 2022-11-03 17:06:34 -07:00
  • f859190cba update to v2.0.7 daan 2022-11-03 17:05:38 -07:00