Commit graph

  • 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
  • 7c73e3996d Fix strict function prototype warnings Christian Heimes 2021-10-19 10:38:57 +02:00
  • 22c2fd82cc ensure managed os memory is at least one arena block in size Daan Leijen 2021-10-18 20:44:19 -07:00
  • bcce4d52bf fix bug in determination of block size in pre-reserved arena memory Daan Leijen 2021-10-18 20:39:39 -07:00
  • d6bbc08119 prefer monotonic clock for stats (issue #457) Daan 2021-10-18 18:24:59 -07:00
  • 6ef15943cc fix comments Daan Leijen 2021-10-18 16:59:19 -07:00
  • 8d2a21eb78 Merge branch 'dev' into dev-slice Daan Leijen 2021-10-18 16:46:18 -07:00
  • bd8e3fd8e1 increase robustness of primitive windows allocation by always using a fallback to VirtualAlloc Daan Leijen 2021-10-18 16:46:06 -07:00
  • 54659aec9e merge from dev Daan Leijen 2021-10-18 16:28:08 -07:00
  • 0fb61c9eaa do not call exit if try handler fails but use abort instead Daan Leijen 2021-10-18 16:25:10 -07:00
  • 3c058f07a9
    Add an option to disable automatic use of getenv inside options.c Thom Chiovoloni 2021-10-08 23:59:35 -07:00
  • c21b6df51e Fix missing parameter in mi_free error message Jeremy Lorelli 2021-10-05 08:41:03 -07:00
  • e6b58052da add start offset to pages to reduce cache/page effects Daan Leijen 2021-10-02 11:13:00 -07:00
  • 9c5928060e Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan Leijen 2021-10-01 15:10:42 -07:00
  • 262022c1d1 fix segment map for 32-bit systems (including wasm) Daan Leijen 2021-10-01 15:10:11 -07:00
  • d7ac4478a8 Merge branch 'dev' into dev-slice Daan Leijen 2021-10-01 15:05:41 -07:00
  • 679aad0659 update wasm support with emscripten compilation; now using sbrk instead of wasm_memory_grow Daan Leijen 2021-10-01 15:05:01 -07:00
  • 56a295d399 cmake: removed hardcoded names for top level configuration Yaroslav Syrytsia 2021-09-28 20:34:56 +03:00
  • 9ee780894a
    fix: Fix a typo Masashi Fujita 2021-09-16 03:35:56 +09:00
  • 825a2d41b0 Fxies for #458 iryont 2021-09-12 12:04:31 +02:00
  • a2c3b0f8af add option to reserve huge os pages at a specific numa node. paulip1792 2021-08-10 16:30:44 +08:00
  • 9461de1867 Add spaces after uses of _Atomic() to prevent it from expanding as a prefix to the following identifier. e.g. _Atomic(uintptr_t)x = 0; -> uintptr_tx = 0; static _Atomic(uintptr_t)mi_segment_map[MI_SEGMENT_MAP_WSIZE]; -> static uintptr_tmi_segment_map[MI_SEGMENT_MAP_WSIZE]; Nick Edwards 2021-08-09 18:33:39 +01:00
  • ee0b01c84d Fixed stats in mi_os_mem_alloc_aligned on windows when re-allocate bmalrat 2021-08-04 17:46:58 -04:00
  • 30be78d97a Fixed typo in headers bmalrat 2021-08-04 17:31:48 -04:00
  • 32c5e4774f update tests with static Daan Leijen 2021-07-26 19:14:29 -07:00
  • bf19c6b3d6 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan Leijen 2021-07-26 19:10:27 -07:00
  • a3cf23c19f add test for #445 Daan Leijen 2021-07-26 19:10:21 -07:00
  • 9a66d37d4e Add an option to reduce pagefault when available in Linux hank 2021-06-26 15:06:13 +08:00
  • 46cd125313
    Merge pull request #423 from jserv/preprocessor-guard Daan 2021-06-30 20:58:19 -07:00
  • 345069028b
    Fix atomic for architectures without support for lock-free atomics (e.g. armv6l) Artur Sinila 2021-06-29 22:41:25 +03:00
  • edb0b93c6f
    Fix 'malloc-nomem1' test for 32-bit architectures Artur Sinila 2021-06-29 21:07:13 +03:00
  • 772d178d78
    CMakeLists.txt: fix mi_install_cmakedir & disable adding -none prefix if CMAKE_BUILD_TYPE==None Artur Sinila 2021-06-29 16:41:33 +03:00
  • 4850b55440 Check the default huge page size for Linux hank 2021-06-27 23:01:57 +08:00
  • 6cd59aa50c Use much faster getcpu() via vDSO Jim Huang 2021-06-25 22:41:44 +08:00