Commit graph

  • 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
  • 45321237b5
    Fix ARM64 MSVC linker problem LongYinan 2021-10-21 21:15:08 +08:00
  • b5b52b8879 Haiku build update, since the beta3 few more posix functions are available e.g. madvise David CARLIER 2021-10-20 18:33:12 +00:00
  • de00de96fd merge with dev Daan 2021-10-20 09:56:03 -07:00
  • d482555675 Fix warnings on osx with g++ compilation Daan 2021-10-20 09:55:21 -07:00
  • e02f88a11c Fix warnings with g++-11 compilation Daan 2021-10-20 09:55:03 -07:00
  • b47d0802d1 Merge branch 'dev' into dev-slice Daan 2021-10-20 09:36:08 -07:00
  • 4d89176eb4 add MI_USE_LIBATOMIC to link with -latomic on older systems (see also PR #429); rename MI_INTERPOSE to MI_OSX_INTERPOSE Daan 2021-10-20 09:35:58 -07:00
  • 8dd8db8354
    Merge pull request #470 from devnexen/unit_test_clang_build_fix Daan 2021-10-20 08:32:28 -07:00
  • 5834751ca6 api test conceal gcc pragma David CARLIER 2021-10-20 16:17:13 +01:00
  • d4397ce16c merge from dev Daan Leijen 2021-10-19 15:13:53 -07:00
  • 10c31f9b41 fix warnings Daan Leijen 2021-10-19 15:13:01 -07:00
  • 505ea78cae Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2021-10-19 15:07:19 -07:00
  • 3bf7b4313c add comment Daan 2021-10-19 14:03:48 -07:00
  • ae5aae7e10 allow decommit in arena separate from initial commit Daan 2021-10-19 14:00:40 -07:00
  • 2583ab73dc remove region.c which belongs in dev only Daan 2021-10-19 13:57:36 -07:00
  • 35b928b08f use MADV_DONTNEED instead of mmap fixedfor simplification and possibly better performance on Linux Daan 2021-10-19 13:18:54 -07:00
  • bb00a5a32e remove MADV_FREE_REUSABLE from mi_os_reset as it needs MADV_FREE_REUSE to reuse the memory again. Daan 2021-10-19 13:09:43 -07:00
  • aeb73b0cd4 merge from dev Daan 2021-10-19 12:55:10 -07:00
  • 9a724889ea refine stat output with new SI units Daan 2021-10-19 12:50:16 -07:00
  • 75987e4590
    Merge pull request #410 from jserv/enforce-binary-prefix Daan 2021-10-19 12:28:33 -07:00
  • 2adf69859b
    Merge pull request #418 from devnexen/haiku_build_fix Daan 2021-10-19 12:19:44 -07:00
  • 6068a8bb1b
    Merge pull request #420 from hankluo6/typo Daan 2021-10-19 12:17:44 -07:00
  • 62389f34fa Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-19 10:56:19 -07:00
  • 2d821003b0 don't add prefix if build type is None (PR #427) Daan 2021-10-19 10:56:13 -07:00
  • 9769cd4103
    Merge pull request #428 from Logarithmus/fix-test-i686 Daan 2021-10-19 10:51:17 -07:00
  • adeef8d403 formatting Daan 2021-10-19 10:31:49 -07:00
  • 4b52ce4095
    Merge pull request #450 from bmalrat/FixStatOnWindowsRealloc Daan 2021-10-19 10:29:16 -07:00
  • b4a5c8459d
    Merge pull request #461 from objectx/patch-1 Daan 2021-10-19 10:25:16 -07:00
  • 20a3eee6f0
    Merge pull request #449 from bmalrat/FixTypo Daan 2021-10-19 10:24:54 -07:00
  • f945dbb390 add space after _Atomic to prevent errors on msvc without /TP (see PR #452) Daan 2021-10-19 10:18:44 -07:00
  • a4078df9d5 Merge branch 'dev' into dev-slice Daan 2021-10-19 10:17:53 -07:00
  • 5b9409f4d6 add space after _Atomic to prevent errors on msvc without /TP (see PR #452) Daan 2021-10-19 10:17:30 -07:00
  • f0f9aecfe4 add comment on #if ending Daan 2021-10-19 09:52:20 -07:00
  • 4841bc1721
    Merge pull request #465 from thomcc/no-getenv Daan 2021-10-19 09:49:34 -07:00
  • ea46430016
    Merge pull request #468 from tiran/default_source Daan 2021-10-19 09:40:21 -07:00
  • 60937b5bc8 add -Wstrict-prototypes flag during compilation Daan 2021-10-19 09:39:33 -07:00
  • 1917fbd847
    Merge pull request #467 from tiran/strict_prototypes Daan 2021-10-19 09:35:40 -07:00
  • d49b3a95a2
    Merge pull request #464 from JJL772/master Daan 2021-10-19 09:28:20 -07:00
  • afbcf20f24 Define _DEFAULT_SOURCE for syscall and realpath Christian Heimes 2021-10-19 15:07:52 +02:00