Commit Graph

  • e95195aa28 comment daan 2021-11-12 19:58:49 -08:00
  • c032f94c66 start eager commit delay at N>2 daan 2021-11-12 19:32:57 -08:00
  • 4323f0862f Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-12 19:04:35 -08:00
  • 671240265f merge from dev daan 2021-11-12 19:04:18 -08:00
  • 94c33d4be3 suppres eager commit delay for the first 4 threads daan 2021-11-12 19:03:20 -08:00
  • 78fbb41ea7 Merge branch 'dev-slice' into dev-slice-cmask daan 2021-11-12 18:46:38 -08:00
  • a6e264d22d merge from dev daan 2021-11-12 18:46:16 -08:00
  • d2707c113d do not delay eager commit for the main thread daan 2021-11-12 18:44:33 -08:00
  • 3c96a61845 merge from dev-slice daan 2021-11-12 18:38:14 -08:00
  • e2f038cea3 wip: change decommit expiration daan 2021-11-12 17:31:21 -08:00
  • ca0d9a54e0 fix decommit bug daan 2021-11-11 17:45:41 -08:00
  • 6031401184 merge from dev-slice daan 2021-11-10 16:49:43 -08:00
  • 97cb394a8e merge from dev daan 2021-11-10 16:33:42 -08:00
  • faf1c6fac9 save decommit_mask for segments in the segment cache daan 2021-11-10 16:30:21 -08:00
  • 26c20c0782 increase segment size to 64MiB daan 2021-11-10 16:29:53 -08:00
  • 9c3eb5a938 remove assign in while condition Daan 2021-11-10 11:58:04 -08:00
  • 9233978fd5 improve aligned support on BSD and MAP_ALIGN systems Daan 2021-11-10 11:26:36 -08:00
  • 595bd96af7 improve aligned support on BSD and MAP_ALIGN systems Daan 2021-11-10 11:23:11 -08:00
  • 8b0f8a08d7 fix huge page madvise in case mmap failed Daan 2021-11-10 10:46:06 -08:00
  • 61443ca5e2 wip: increase commit mask resolution daan 2021-11-09 20:19:31 -08:00
  • af3a3cd72f Merge branch 'dev-slice' of https://github.com/microsoft/mimalloc into dev-slice Daan 2021-11-06 14:19:32 -07:00
  • 42190bf5a5 Merge branch 'dev' into dev-slice Daan 2021-11-06 14:19:26 -07:00
  • 3cc9b38e87 fix printf format type mismatches (issue #486) Daan 2021-11-06 14:19:14 -07:00
  • 9da85b3bb2 Merge branch 'dev' into dev-slice daan 2021-11-04 19:10:31 -07:00
  • 0a082c9378 fix build for missing malloc_good_size daan 2021-11-04 19:10:15 -07:00
  • a8927a3249 Merge branch 'dev' into dev-slice Daan 2021-11-04 18:55:34 -07:00
  • 7d0087d408 improve macOS overriding Daan 2021-11-04 18:55:12 -07:00
  • 1f7840160f add noexcept attributes to improve mi_free codegen Daan 2021-11-04 18:54:57 -07:00
  • a6ec9fc750 merge from dev Daan 2021-11-02 22:42:25 -07:00
  • 8b79222cad 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
  • 347b60bb5e add mi_decl_externc, nice layout Daan 2021-11-02 21:53:20 -07:00
  • 48923f73e9 add mi_malloc_good_size Daan 2021-11-02 21:52:00 -07:00
  • 876d06a39c use load relaxed in mi_free for better code on M1 Daan 2021-11-02 21:50:54 -07:00
  • 9c18e0981d avoid accessing the thread_id after process initialized is set Daan 2021-11-02 21:50:15 -07:00
  • 3316fe7f9f avoid accessing the thread_id after process initialized is set Daan 2021-11-02 21:49:05 -07:00
  • b8999a0348 fix spurious build warning with overflow builtins dc 2021-10-28 22:43:21 +01:00
  • e5bce97317 Fix preload path in documentation example sblondon 2021-10-28 15:01:36 +02:00
  • 1736b3fc50 cmake: removed hardcoded names for top level configuration Yaroslav Syrytsia 2021-09-28 20:34:56 +03:00
  • 11f630ab05 Merge branch 'dev' into dev-slice Daan Leijen 2021-10-27 19:06:42 -07:00
  • 3817c10cf2 suppress warning on discard attribute on forwards Daan Leijen 2021-10-27 19:06:27 -07:00
  • 2e5873a686 merge from dev Daan 2021-10-27 18:09:16 -07:00
  • 9efae738c1 refactor os_overcommit detection Daan 2021-10-27 17:39:11 -07:00
  • 4bf2e6c4e4 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-27 17:25:09 -07:00
  • bf1e4fd834 Merge pull request #479 from devnexen/overcommit_if_the_system_approves Daan 2021-10-27 17:24:57 -07:00
  • 93c599023e Merge branch 'dev' into overcommit_if_the_system_approves Daan 2021-10-27 17:12:18 -07:00
  • a37c852b4d Merge commit '1ce4096' into dev Daan 2021-10-27 17:09:30 -07:00
  • 1ce4096c3d only set visibility attribute when compiling for a shared library (issue #475) Daan 2021-10-27 17:01:12 -07:00
  • 82586ed485 minor edits Daan 2021-10-27 17:06:10 -07:00
  • 2545bbc448 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-27 17:03:05 -07:00
  • 55d992fb40 Merge pull request #477 from devnexen/numa_domains_fbsd Daan 2021-10-27 17:01:52 -07:00
  • 0bdf6f2971 only set visibility attribute when compiling for a shared library Daan 2021-10-27 17:01:12 -07:00
  • 5a6a23b356 Merge pull request #476 from devnexen/malloc_usable_size_fbsd Daan 2021-10-27 12:11:43 -07:00
  • 7841101ccf fix assertion Daan 2021-10-27 10:45:19 -07:00
  • 877e961a5d fix assertion Daan 2021-10-27 10:41:14 -07:00
  • 77df0fc70b fix mi_is_valid_pointer bit index search (related to issue #478) Daan 2021-10-27 10:35:16 -07:00
  • 1e18f5247a fix mi_cfree assertion failure for NULL pointer, issue #478 Daan 2021-10-27 10:15:12 -07:00
  • def49690a3 merge from dev Daan 2021-10-27 10:11:51 -07:00
  • 7fddeae731 fix compilation with MI_DEBUG>3, issue #480 Daan 2021-10-27 10:06:34 -07:00
  • 6a8dcaa7b8 proposal to not overcommit page unconditionally on Linux and FreeBSD, respecting userland settings. David Carlier 2021-10-24 19:49:11 +01:00
  • 4399a7189a while at it, doing dragonflybsd too David Carlier 2021-10-24 10:57:40 +01:00
  • 81c46de0e8 NUMA base detection on FreeBSD. David Carlier 2021-10-22 10:08:16 +01:00
  • f3653b0ce6 fixes malloc_usable_size signature on FreeBSD. David Carlier 2021-10-22 08:12:14 +01:00
  • bab7d1f033 Merge branch 'dev' into dev-slice Daan 2021-10-21 16:17:31 -07:00
  • 0c8e7403f2 Merge pull request #471 from devnexen/haiku_build_update Daan 2021-10-21 15:25:52 -07:00
  • a26d905cac Merge pull request #474 from tiran/mi_prefix_os_random Daan 2021-10-21 15:21:19 -07:00
  • 7ae807db78 Merge pull request #472 from Brooooooklyn/patch-1 Daan 2021-10-21 15:16:43 -07:00
  • b4e67270e8 Rename _os_random_weak to _mi_os_random_weak Christian Heimes 2021-10-21 21:39:28 +02:00
  • c7670ee13c Fix ARM64 MSVC linker problem LongYinan 2021-10-21 21:15:08 +08:00
  • df027cdb75 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
  • 71ab32b6bc merge with dev Daan 2021-10-20 09:56:03 -07:00
  • 06f4a03354 Fix warnings on osx with g++ compilation Daan 2021-10-20 09:55:21 -07:00
  • f4a5a21cbf Fix warnings with g++-11 compilation Daan 2021-10-20 09:55:03 -07:00
  • 82b985cde0 Merge branch 'dev' into dev-slice Daan 2021-10-20 09:36:08 -07:00
  • 6619fb4c48 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
  • c426126f55 Merge pull request #470 from devnexen/unit_test_clang_build_fix Daan 2021-10-20 08:32:28 -07:00
  • e349cdd186 api test conceal gcc pragma David CARLIER 2021-10-20 16:17:13 +01:00
  • 6c66f6bfb8 merge from dev Daan Leijen 2021-10-19 15:13:53 -07:00
  • e688824f03 fix warnings Daan Leijen 2021-10-19 15:13:01 -07:00
  • 49272cdab0 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2021-10-19 15:07:19 -07:00
  • f4c05f4908 add comment Daan 2021-10-19 14:03:48 -07:00
  • 08f59c82da allow decommit in arena separate from initial commit Daan 2021-10-19 14:00:40 -07:00
  • 6b674d7678 remove region.c which belongs in dev only Daan 2021-10-19 13:57:36 -07:00
  • b4443a9a14 use MADV_DONTNEED instead of mmap fixedfor simplification and possibly better performance on Linux Daan 2021-10-19 13:18:54 -07:00
  • 1899c03f1c 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
  • d27a565f71 merge from dev Daan 2021-10-19 12:55:10 -07:00
  • a36e9c1012 refine stat output with new SI units Daan 2021-10-19 12:50:16 -07:00
  • 53b129bd72 Merge pull request #410 from jserv/enforce-binary-prefix Daan 2021-10-19 12:28:33 -07:00
  • 8636b4f2e5 Merge pull request #418 from devnexen/haiku_build_fix Daan 2021-10-19 12:19:44 -07:00
  • d00b8d42a7 Merge pull request #420 from hankluo6/typo Daan 2021-10-19 12:17:44 -07:00
  • 7b57abadbf Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev Daan 2021-10-19 10:56:19 -07:00
  • 125eb18d99 don't add prefix if build type is None (PR #427) Daan 2021-10-19 10:56:13 -07:00
  • cec02aeaa3 Merge pull request #428 from Logarithmus/fix-test-i686 Daan 2021-10-19 10:51:17 -07:00
  • 10085583ef formatting Daan 2021-10-19 10:31:49 -07:00
  • 26630f561f Merge pull request #450 from bmalrat/FixStatOnWindowsRealloc Daan 2021-10-19 10:29:16 -07:00
  • 9716a7fb22 Merge pull request #461 from objectx/patch-1 Daan 2021-10-19 10:25:16 -07:00
  • 0004621e52 Merge pull request #449 from bmalrat/FixTypo Daan 2021-10-19 10:24:54 -07:00
  • d9e325458b add space after _Atomic to prevent errors on msvc without /TP (see PR #452) Daan 2021-10-19 10:18:44 -07:00
  • 13c9d3e36b Merge branch 'dev' into dev-slice Daan 2021-10-19 10:17:53 -07:00
  • 533e964d50 add space after _Atomic to prevent errors on msvc without /TP (see PR #452) Daan 2021-10-19 10:17:30 -07:00
  • fc18c8a479 add comment on #if ending Daan 2021-10-19 09:52:20 -07:00