Commit graph

  • 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
  • c4947c8879 Use secure random generator on macOS Jim Huang 2021-04-24 06:24:06 +08:00
  • 71b2c441bb CI: Update the macOS image to version 10.15 Jim Huang 2021-06-25 10:09:19 +08:00
  • 4369fe4323 Eliminate preprocessor warnings due to undefined "__GNUC__" with ClangCL Jim Huang 2021-06-24 17:29:06 +08:00
  • 1c1571742d fix typo hank 2021-06-21 22:36:47 +08:00
  • f58d34fe28 Detect L1 cache size at compile time Jim Huang 2021-06-20 21:05:11 +08:00
  • 0b27a074cb
    Merge 90a8961825 into 076f815cec Jim Huang 2021-06-20 12:43:46 +08:00
  • a35a7d4f19 haiku biuld fix proposal, warning suppression. David Carlier 2021-06-19 09:14:43 +00:00
  • 080cffe064 Merge branch 'dev' into dev-slice Daan Leijen 2021-06-17 20:20:28 -07:00
  • 076f815cec update readme Daan Leijen 2021-06-17 20:19:34 -07:00
  • b0441da766 update readme for 1.7.2/2.0.2 Daan Leijen 2021-06-17 20:14:23 -07:00
  • b3b0fb5832 merge from dev v2.0.2 Daan Leijen 2021-06-17 20:05:40 -07:00
  • 752594e764 add test for #414 v1.7.2 Daan Leijen 2021-06-17 19:47:41 -07:00
  • 728be93977 fix for #414 making numa node count atomic Daan Leijen 2021-06-17 19:38:51 -07:00
  • 5869c85749 merge from dev Daan Leijen 2021-06-17 19:18:57 -07:00
  • a83bca72b3 fixes for M1; disable interpose use zones; fix pedantic warnings Daan Leijen 2021-06-17 19:15:09 -07:00
  • 76fb0c7f12 Fix problem of with small alignment Wataru Tokuno 2021-06-15 15:21:36 +09:00
  • 86c8802837 Add test of with small alignment Wataru Tokuno 2021-06-15 15:19:45 +09:00
  • 618a6bff94
    Merge 1966db91b7 into c8b5b74500 Jim Huang 2021-06-08 14:58:35 -05:00
  • e592360d4d revert relative includes Daan Leijen 2021-06-07 17:53:03 -07:00
  • 6ba9387bf8 Merge branch 'dev' into dev-slice Daan Leijen 2021-06-07 17:51:42 -07:00
  • c8b5b74500 improve warnings Daan Leijen 2021-06-07 17:51:27 -07:00
  • d7eb0bab75 Merge branch 'dev' into dev-slice Daan Leijen 2021-06-07 17:01:00 -07:00
  • bb957fcd81 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan Leijen 2021-06-07 17:00:35 -07:00
  • cd633b2e2a
    Merge pull request #411 from jserv/predict-alloc_size Daan 2021-06-07 16:55:39 -07:00
  • 8af2511e66
    Merge pull request #412 from diorszeng/dev-slice Daan 2021-06-07 16:55:03 -07:00
  • 9974b0ee23 Merge branch 'dev' into dev-slice Daan Leijen 2021-06-07 16:51:14 -07:00
  • aeb62c2711 fix double quote includes Daan Leijen 2021-06-07 16:50:31 -07:00
  • 4ba32c3160 Revert "make all includes relative" Daan Leijen 2021-06-07 16:47:57 -07:00