Commit graph

  • d1fff1119a reorganize span free code Daan Leijen 2022-12-21 12:19:09 -08:00
  • a873ddc4fa merge from dev Daan Leijen 2022-12-21 12:10:46 -08:00
  • 37d5ce9498 comment out include Daan Leijen 2022-12-21 12:09:52 -08:00
  • aa2d00fde8 make heap_new inline again Daan Leijen 2022-12-21 10:28:58 -08:00
  • 0f796a56a9 fix bug where eager committed memory would be immediatedy decommitted; possible fix for issue #669 Daan Leijen 2022-12-20 18:59:55 -08:00
  • 11ddba7a06 Merge branch 'dev' into dev-slice Daan Leijen 2022-12-19 18:59:45 -08:00
  • ef3f651f3f change implementation of mi_realpath to be more robust; see issue #660 Daan Leijen 2022-12-19 18:59:33 -08:00
  • 94b8cb870e quote path in post-build event (issue #666 Daan Leijen 2022-12-19 18:40:12 -08:00
  • b701d4cbfa bump cmake minimal version to 3.13 to support CMAKE_INTERPROCEDURAL_OPTIMIZATION -- see PR 656. Daan Leijen 2022-12-19 18:39:52 -08:00
  • ab99eb5830 quote path in post-build event (issue #666 Daan Leijen 2022-12-19 18:12:27 -08:00
  • 9b2dd0d757 Merge branch 'dev' into dev-slice Daan Leijen 2022-12-19 18:02:13 -08:00
  • 4d1e74aadd add comment Daan Leijen 2022-12-19 18:01:58 -08:00
  • d862c8a3eb Merge branch 'dev' into dev-slice Daan Leijen 2022-12-19 17:53:51 -08:00
  • 95b61b8c3d forward libc interface used by wasi-libc; originally by @anuraaga in PR #667 but rebased to the dev branch Daan Leijen 2022-12-19 17:45:15 -08:00
  • 35997c0384 Merge branch 'dev' into dev-slice Daan Leijen 2022-12-19 17:38:53 -08:00
  • 2b0421a25c fix -Wunused-function for mi_strn-cmp; originally by @rui314 in PR #662 but rebased to dev branch Daan Leijen 2022-12-19 17:38:39 -08:00
  • 9b558e2a07
    Merge pull request #655 from rganesan/patch-1 Daan 2022-12-19 17:26:55 -08:00
  • 8c89a77064 add default constructors to stl heap allocators Daan Leijen 2022-12-19 17:25:49 -08:00
  • 95e88a699e
    Merge pull request #653 from vmarkovtsev/fix-const Daan 2022-12-19 17:11:16 -08:00
  • 51e2be6647
    Merge branch 'dev' into fix-const Daan 2022-12-19 17:10:54 -08:00
  • 92ffc25d79 merge from dev Daan Leijen 2022-12-19 17:08:45 -08:00
  • 4f2fdf76a0 add braces Daan Leijen 2022-12-19 16:59:24 -08:00
  • dfc95f34c4 first try WriteFile for a redirected stderr Daan Leijen 2022-12-19 16:57:50 -08:00
  • 505a14bbd8 cleanup on-demand loading of psapi and bcrypt on windows Daan Leijen 2022-12-19 16:50:13 -08:00
  • 59ea84cadc
    Merge pull request #654 from dscho/git-for-windows-assorted-fixes Daan 2022-12-19 16:40:48 -08:00
  • b2676d868f Forward libc interface used by wasi-libc Anuraag Agrawal 2022-12-14 17:22:47 +09:00
  • f26d2961d9 Fix small typo Brian Ingenito 2022-12-12 08:47:24 -05:00
  • a96a5c89c1 Fix -Wunused-function Rui Ueyama 2022-12-10 15:58:24 +08:00
  • 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