Commit graph

  • 4b0cda2012 take overcommit into account for eager commit delay daan 2021-11-14 11:23:11 -08:00
  • 511a8996f3 increase commit mask blocks to 2xslice size daan 2021-11-13 20:12:03 -08:00
  • 7e22e5ce6e Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-13 19:44:05 -08:00
  • fa66db840d increase decommit hysterisis daan 2021-11-13 19:43:52 -08:00
  • fb5645a30d increase decommit hysterisis daan 2021-11-13 19:41:41 -08:00
  • 7a3cf405d3 Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-13 17:12:42 -08:00
  • cdfbd6d08f decommit when abandoned segments move to the visited list daan 2021-11-13 17:12:21 -08:00
  • 12bfd18ba7 fix commit mask for huge segments daan 2021-11-13 16:15:03 -08:00
  • 627892852c merge from dev-slice daan 2021-11-13 15:53:57 -08:00
  • b72065f04b move commit mask functions to segment.c daan 2021-11-13 15:50:26 -08:00
  • 4f9d5f7dc6 merge from dev-slice daan 2021-11-13 15:33:03 -08:00
  • f1ce9228a1 use size_t for bitmask daan 2021-11-13 15:29:57 -08:00
  • 88e6b52b88 fix types to size_t daan 2021-11-13 15:25:51 -08:00
  • f9597ba7cb merge from dev-slice daan 2021-11-13 15:18:56 -08:00
  • 83ffd92b2b merge from dev daan 2021-11-13 15:16:23 -08:00
  • 09e59e0610 use size_t instead of uintptr_t where appropiate daan 2021-11-13 15:13:16 -08:00
  • 721486c82b merge from dev daan 2021-11-13 14:52:11 -08:00
  • 28896e5b19 prefix UNUSED,KiB,MiB,GiB; add mi_threadid_t type; add mi_ssize_t daan 2021-11-13 14:46:03 -08:00
  • 0a86b45a91 Merge branch 'dev' into dev-slice daan 2021-11-13 14:13:12 -08:00
  • 959845540d use W4 for msvc compilation daan 2021-11-13 14:13:03 -08:00
  • 9afc253726 add comments, renaming daan 2021-11-13 14:03:16 -08:00
  • 8bf16746e9 Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-13 13:31:00 -08:00
  • 97a1584bb5 Merge branch 'dev' into dev-slice daan 2021-11-13 13:30:17 -08:00
  • c56be7ac5a show cflags in cmake; fix -fno-builtin-malloc flag daan 2021-11-13 13:30:03 -08:00
  • 5dc4ec48fe lower default reset delay daan 2021-11-12 21:15:11 -08:00
  • 53e2260ca0 merge daan 2021-11-12 20:14:03 -08:00
  • a2b08664f7 merge from dev daan 2021-11-12 20:00:43 -08:00
  • d52b559b57 use eager delay after 2 threads daan 2021-11-12 19:59:59 -08:00
  • f58b4d923a comment daan 2021-11-12 19:58:49 -08:00
  • 9322123a97 start eager commit delay at N>2 daan 2021-11-12 19:32:57 -08:00
  • 6ace2fe4e0 Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-12 19:04:35 -08:00
  • 5c08f75d69 merge from dev daan 2021-11-12 19:04:18 -08:00
  • f9ac60a90f suppres eager commit delay for the first 4 threads daan 2021-11-12 19:03:20 -08:00
  • 9e6ace6bcc Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-12 18:46:38 -08:00
  • e5a3f3d7c4 merge from dev daan 2021-11-12 18:46:16 -08:00
  • d2de66b8fa do not delay eager commit for the main thread daan 2021-11-12 18:44:33 -08:00
  • 335d554438 merge from dev-slice daan 2021-11-12 18:38:14 -08:00
  • c6b82a4b37 wip: change decommit expiration daan 2021-11-12 17:31:21 -08:00
  • b1aff903f5 fix decommit bug daan 2021-11-11 17:45:41 -08:00
  • 998c2de633 merge from dev-slice daan 2021-11-10 16:49:43 -08:00
  • ba6b4bf622 merge from dev daan 2021-11-10 16:33:42 -08:00
  • 49d64dbc95 save decommit_mask for segments in the segment cache daan 2021-11-10 16:30:21 -08:00
  • 8cc7d0c019 increase segment size to 64MiB daan 2021-11-10 16:29:53 -08:00
  • f72e5688f5 remove assign in while condition Daan 2021-11-10 11:58:04 -08:00
  • fd61997cef improve aligned support on BSD and MAP_ALIGN systems Daan 2021-11-10 11:26:36 -08:00
  • 89abbe75d8 improve aligned support on BSD and MAP_ALIGN systems Daan 2021-11-10 11:23:11 -08:00
  • 8c9ccea2f5 fix huge page madvise in case mmap failed Daan 2021-11-10 10:46:06 -08:00
  • 49c75a3157 wip: increase commit mask resolution daan 2021-11-09 20:19:31 -08:00
  • 865baa3bb1 Merge branch 'dev-slice' of https://github.com/microsoft/mimalloc into dev-slice Daan 2021-11-06 14:19:32 -07:00
  • a4e7ff8608 Merge branch 'dev' into dev-slice Daan 2021-11-06 14:19:26 -07:00
  • e96614961f fix printf format type mismatches (issue #486) Daan 2021-11-06 14:19:14 -07:00
  • c17878d1a7 Merge branch 'dev' into dev-slice daan 2021-11-04 19:10:31 -07:00
  • f2e3cca213 fix build for missing malloc_good_size daan 2021-11-04 19:10:15 -07:00
  • 464cba833e Merge branch 'dev' into dev-slice Daan 2021-11-04 18:55:34 -07:00
  • c47de7eb90 improve macOS overriding Daan 2021-11-04 18:55:12 -07:00
  • e853f530a0 add noexcept attributes to improve mi_free codegen Daan 2021-11-04 18:54:57 -07:00
  • f3ffa663f1 merge from dev Daan 2021-11-02 22:42:25 -07:00
  • 32ee13f41e improve macOS M1 performance; use interpose in combination with zone's; add -fno-builtin-malloc flag in building with MI_OVERRIDE Daan 2021-11-02 21:54:44 -07:00
  • 751a2249c8 add mi_decl_externc, nice layout Daan 2021-11-02 21:53:20 -07:00
  • 5360639748 add mi_malloc_good_size Daan 2021-11-02 21:52:00 -07:00
  • 74efd6ddac use load relaxed in mi_free for better code on M1 Daan 2021-11-02 21:50:54 -07:00
  • dbf8bafc3a avoid accessing the thread_id after process initialized is set Daan 2021-11-02 21:50:15 -07:00
  • d0d47e6489 avoid accessing the thread_id after process initialized is set Daan 2021-11-02 21:49:05 -07:00
  • 5b0e73281f fix spurious build warning with overflow builtins dc 2021-10-28 22:43:21 +01:00
  • ef7674443d Set visibility "default" only when exporting Christian Heimes 2021-10-27 12:30:32 +02:00
  • 5a5e4e3036
    Fix preload path in documentation example sblondon 2021-10-28 15:01:36 +02:00
  • 0ead911b6b cmake: removed hardcoded names for top level configuration Yaroslav Syrytsia 2021-09-28 20:34:56 +03:00
  • 9c3e6a25f6 Merge branch 'dev' into dev-slice Daan Leijen 2021-10-27 19:06:42 -07:00
  • 1b1c9186a4 suppress warning on discard attribute on forwards Daan Leijen 2021-10-27 19:06:27 -07:00
  • db223e4adb merge from dev Daan 2021-10-27 18:09:16 -07:00
  • 5fd77aa198 refactor os_overcommit detection Daan 2021-10-27 17:39:11 -07:00
  • 0335d32766 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-27 17:25:09 -07:00
  • 88d5349d47
    Merge pull request #479 from devnexen/overcommit_if_the_system_approves Daan 2021-10-27 17:24:57 -07:00
  • 13b30bf2dd
    Merge branch 'dev' into overcommit_if_the_system_approves Daan 2021-10-27 17:12:18 -07:00
  • f3db35e6b6 Merge commit 'fdcdc4c' into dev Daan 2021-10-27 17:09:30 -07:00
  • fdcdc4cf2a only set visibility attribute when compiling for a shared library (issue #475) Daan 2021-10-27 17:01:12 -07:00
  • 6ccf7e87c0 minor edits Daan 2021-10-27 17:06:10 -07:00
  • 4d8ba61a2d Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-27 17:03:05 -07:00
  • a0c7cf56e6
    Merge pull request #477 from devnexen/numa_domains_fbsd Daan 2021-10-27 17:01:52 -07:00
  • f38956568c only set visibility attribute when compiling for a shared library Daan 2021-10-27 17:01:12 -07:00
  • c472b8b016
    Merge 9a66d37d4e into 8cf618a452 hankluo6 2021-10-27 16:49:28 -07:00
  • 8cf618a452
    Merge pull request #476 from devnexen/malloc_usable_size_fbsd Daan 2021-10-27 12:11:43 -07:00
  • 7756e1b5fe fix assertion Daan 2021-10-27 10:45:19 -07:00
  • e477633779 fix assertion Daan 2021-10-27 10:41:14 -07:00
  • 1568dbb9e4 fix mi_is_valid_pointer bit index search (related to issue #478) Daan 2021-10-27 10:35:16 -07:00
  • 54b65a556c fix mi_cfree assertion failure for NULL pointer, issue #478 Daan 2021-10-27 10:15:12 -07:00
  • 6d9e79a498 merge from dev Daan 2021-10-27 10:11:51 -07:00
  • ca9785d40e fix compilation with MI_DEBUG>3, issue #480 Daan 2021-10-27 10:06:34 -07:00
  • 00edd9201b proposal to not overcommit page unconditionally on Linux and FreeBSD, respecting userland settings. David Carlier 2021-10-24 19:49:11 +01:00
  • 2d2d9af5c6 while at it, doing dragonflybsd too David Carlier 2021-10-24 10:57:40 +01:00
  • 246520db93
    Merge 4850b55440 into 02938b7048 hankluo6 2021-10-23 04:51:30 +03:00
  • fc7777ee8c NUMA base detection on FreeBSD. David Carlier 2021-10-22 10:08:16 +01:00
  • 8054673af2
    Merge 6cd59aa50c into 02938b7048 Jim Huang 2021-10-22 11:58:23 +03:00
  • 898a23ec2b fixes malloc_usable_size signature on FreeBSD. David Carlier 2021-10-22 08:12:14 +01:00
  • 725fe2ac7d Merge branch 'dev' into dev-slice Daan 2021-10-21 16:17:31 -07:00
  • 02938b7048
    Merge pull request #471 from devnexen/haiku_build_update Daan 2021-10-21 15:25:52 -07:00
  • 2417f6d8a7
    Merge pull request #474 from tiran/mi_prefix_os_random Daan 2021-10-21 15:21:19 -07:00
  • 1fc83cda05
    Merge pull request #472 from Brooooooklyn/patch-1 Daan 2021-10-21 15:16:43 -07:00
  • 13de1920ae Rename _os_random_weak to _mi_os_random_weak Christian Heimes 2021-10-21 21:39:28 +02:00
  • 0b019d8aff Fix building on Windows ARM64 Christian Heimes 2021-10-21 21:33:52 +02:00