Commit graph

  • 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
  • 069b3276df merge from dev Daan Leijen 2021-06-06 20:33:55 -07:00
  • 7b595bd957 Merge branch 'dev' into dev-slice Daan Leijen 2021-06-06 20:31:53 -07:00
  • 1feb6123d9 make all includes relative Daan Leijen 2021-06-06 20:31:36 -07:00
  • 916fae3d5d Change internal include to double quote bmalrat 2021-05-28 11:50:10 -04:00
  • f4e1563c4c
    Merge pull request #1 from diorszeng/diorszeng-patch-1 diorszeng 2021-05-31 15:03:01 +08:00
  • 0611058974
    Update mimalloc-types.h diorszeng 2021-05-31 15:02:17 +08:00
  • d48c93af2c Add branch hint for _mi_os_good_alloc_size Jim Huang 2021-05-31 11:49:08 +08:00
  • 0f57425f80 Distinguish SI and Binary Prefixes Jim Huang 2021-05-30 13:09:02 +08:00
  • 54b2c3525c merge with dev Daan Leijen 2021-05-21 15:36:30 -07:00
  • e2c095fad2 fix installation directories on unix to use /lib, /include, /share; fix issues #399, #223, and #89 Daan Leijen 2021-05-21 15:15:50 -07:00
  • 34172910e5 fix symlink and --prefix option with delayed CMAKE_INSTALL_PREFIX; fix issue #398 Daan Leijen 2021-05-21 13:01:11 -07:00
  • 143cf9c3d6
    Merge pull request #400 from mkurdej/redirect32 Daan 2021-05-21 12:17:33 -07:00
  • a732b762cc
    Merge pull request #403 from ArcEarth/master Daan 2021-05-21 12:16:17 -07:00
  • 712e7d3de0 [CMake] Respect CMAKE_INSTALL_PREFIX at install time The standard way of cmake install to a destination folder is the following pattern: ``shell cd <BUILD_DIR> cmake <SRC_DIR> cmake --build <BUILD_DIR> cmake --install <BUILD_DIR> --prefix <INSTALL_DIR> ` Right now, the <INSTALL_DIR> folder passed in cmake --install command is ignored, and always installed into C:/Program Files(x86)/..., which is the default CMAKE_INSTALL_PREFIX value passed at the cmake <SRC_DIR>` call. Thus, it is not possible to install the binaries into different folders without rerun the cmake/build process. Yupeng Zhang 2021-05-10 12:01:03 -04:00
  • acba250e60 [Windows] Correctly choose 32-bit version of mimalloc-redirect{,32}.dll. Marek Kurdej 2021-05-04 11:26:07 +02:00
  • 49afbc0821 Update documentation playX 2021-05-02 14:33:17 +03:00
  • e30bd17ad6 Fix documentation playX 2021-04-29 07:57:21 +03:00
  • f4d1ad552e Initial local deferred free impl playX 2021-04-29 06:07:55 +03:00
  • 73c339235c collect in debug mode in stress test Daan Leijen 2021-04-28 16:12:32 -07:00
  • 10ce8839fa merge from dev Daan Leijen 2021-04-28 13:23:46 -07:00
  • 16b3329bd4
    Merge pull request #396 from jserv/fix-copyright-date Daan 2021-04-28 13:11:11 -07:00
  • 29ea7a89ab add braces Daan Leijen 2021-04-28 13:08:59 -07:00
  • 6d1658123c
    Merge pull request #391 from jserv/improve-align-down Daan 2021-04-28 13:07:13 -07:00
  • aca46242ab update comment for aligned_alloc Daan Leijen 2021-04-28 12:47:14 -07:00
  • 45a8dc7f55
    Merge pull request #385 from elbaro/fix/aligned-alloc Daan 2021-04-28 12:43:32 -07:00
  • 5940d3bcce Bump copyright date Jim Huang 2021-04-24 16:35:11 +00:00
  • 1966db91b7 Implement appropriate atomic_yield for Armv7+ Jim Huang 2021-04-23 22:42:58 +00:00
  • 766f1f9345
    Merge pull request #388 from nico-abram/patch-2 Daan 2021-04-22 10:34:13 -07:00
  • f941015928
    Merge pull request #384 from kdrag0n/fix-android-thread-id Daan 2021-04-22 10:33:53 -07:00
  • 00ddc1b8a0
    Merge pull request #389 from jserv/macos-predefined-macro Daan 2021-04-22 10:25:27 -07:00
  • 90a8961825 Introduce constant function for further compiler optimizations Jim Huang 2021-04-22 06:23:15 +00:00
  • 52943917ad Rewrite align_down with bitwise operations Jim Huang 2021-04-21 13:14:53 +00:00
  • 3402c6cc3f Revise the use of macOS predefined macro Jim Huang 2021-04-19 01:02:13 +08:00
  • 8311cef0d1 Fix typo in comment it -> if in mimalloc-types.h unknown 2021-04-17 15:08:25 -03:00
  • ad44f76598 commit elbaro 2021-04-11 03:09:23 +09:00
  • ad2fa2bf6f
    Fix thread ID getter on Android ARM/AArch64 Danny Lin 2021-04-07 01:32:19 -07:00
  • b19da8e362
    update readme for 1.7.1 and 2.0.1 Daan 2021-04-06 11:05:43 -07:00
  • 34ba03951e merge from dev Daan Leijen 2021-04-06 11:01:06 -07:00
  • c6f5092287 merge from dev Daan Leijen 2021-04-06 11:00:28 -07:00