Commit graph

  • e24c7c9de6 fix asan compilation on macOSX Daan 2023-03-04 09:58:17 -08:00
  • 6cc0ad72fc match declaration of mi_malloc_size_checked on macOS Daan 2023-03-04 09:58:02 -08:00
  • 0d9e7ab61e remove extern inline from alloc_new functions to avoid link warnings Daan 2023-03-04 09:27:04 -08:00
  • cb4fc2c792 reset stats for stress test when using mimalloc Daan 2023-03-04 09:17:35 -08:00
  • 5fe4a3480f revert default max align commit back to 16 Daan Leijen 2023-02-20 12:21:06 -08:00
  • 8be4cee418 change max align size to 8 daan 2022-11-16 18:52:40 -08:00
  • 5127ff871d FIX: atomic_store_explicit call in random.c for some arm platform Troy Liu 2023-02-10 09:34:12 +08:00
  • e7b941a136 Merge branch 'dev' into dev-slice Daan Leijen 2023-02-07 11:08:10 -08:00
  • 6a230f8329 fix compilation of heap specific STL allocators for vs2017 Daan Leijen 2023-02-07 11:07:52 -08:00
  • 507f75b56c update vs2017 project files Daan Leijen 2023-02-07 11:07:08 -08:00
  • 1a136c7e3d Merge branch 'dev' into dev-slice Daan Leijen 2023-02-01 11:28:22 -08:00
  • 389b004cd0 update mimalloc-redirect for win11; potential fix for issue #657, attempt 3 Daan Leijen 2023-02-01 11:28:01 -08:00
  • efb7a159d5 Merge branch 'dev' into dev-slice Daan Leijen 2023-02-01 11:23:37 -08:00
  • 23868f0801 update mimalloc-redirect for win11; potential fix for issue #657, attempt 2 Daan Leijen 2023-02-01 11:23:20 -08:00
  • a6f092a6f5 Merge branch 'dev' into dev-slice Daan Leijen 2023-01-31 21:08:55 -08:00
  • fca492aacc update mimalloc-redirect for win11; potential fix for issue #657 Daan Leijen 2023-01-31 21:08:43 -08:00
  • 1e4b6b734e fix assertion that was too strict (issue #691) Daan Leijen 2023-01-31 16:02:35 -08:00
  • c6bbc28da0 adding check for ptr cookie to be the same as segment cookie to catch valid pointers when unaligned os memory is provided at allocation Blake Taylor 2023-01-26 20:13:49 -08:00
  • c93d848153 fix install issue on Haiku R1 beta 4 closes #677 Tara Harris 2023-01-05 15:07:34 -05:00
  • 8bb58fe00e
    Remove redundant line Ganesan Rajagopal 2022-12-31 14:27:55 +05:30
  • 5046f986c5
    Remove obsolete code Ganesan Rajagopal 2022-12-30 11:27:51 +05:30
  • 5b241ade81 Fix Visual Studio 2017 compilation Martin Kraner 2022-12-27 11:32:42 +01:00
  • 2aa3507249 Fix MI_SKIP_COLLECT_ON_EXIT option syntax Martin Kraner 2022-12-23 14:23:24 +01:00
  • 990779326f
    Merge fce0c16ce1 into dd7348066f SHADOW 2022-12-25 10:45:58 +02:00
  • dd7348066f Merge branch 'dev-slice' Daan Leijen 2022-12-23 13:35:58 -08:00
  • 7bb34e056c fix readme Daan Leijen 2022-12-23 13:35:50 -08:00
  • df6e288519 merge from dev-slice v2.0.9 Daan Leijen 2022-12-23 13:34:21 -08:00
  • 28cf67e5b6 bump version to 2.0.9 v2.0.9 Daan Leijen 2022-12-23 13:31:56 -08:00
  • 4cebb48062 bump version to v1.7.9 v1.7.9 Daan Leijen 2022-12-23 13:29:06 -08:00
  • e87badaa1b Merge branch 'dev' into dev-slice Daan Leijen 2022-12-23 13:05:05 -08:00
  • 9adb032e9c test non-default heap Daan Leijen 2022-12-23 13:04:53 -08:00
  • e68f2c1479 fix recursion issue on exit on windows, #672 Daan Leijen 2022-12-23 13:02:16 -08:00
  • 1440fe6ae1
    Merge 03c28992a9 into 9b558e2a07 Azat Khuzhin 2022-12-22 10:18:20 +08:00
  • 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