Commit Graph

  • 2e91102cb9 mi_bitmap_try_find_claim_field_across David Carlier 2020-11-18 17:21:51 +00:00
  • 680da1f082 Unify statistic collection: - For MI_STAT == 0 no allocation stats are collected - For MI_STAT == 1 only aggregated values (across normal, large and huge heaps) are collected - For MI_STAT == 1 separate per-bin collection for normal heap is done as well Anton Korobeynikov 2020-11-11 11:34:40 +03:00
  • 210418adae Rename the field Anton Korobeynikov 2020-11-11 10:57:48 +03:00
  • 11186af1f4 remove shadow warning when building in static mode unknown 2020-11-06 17:49:10 -08:00
  • 803e06738d Print current values of stat counters as well. Anton Korobeynikov 2020-11-02 00:24:24 +03:00
  • d12130b6d0 Honour MI_STAT in couple more places. Anton Korobeynikov 2020-11-02 00:14:02 +03:00
  • cdb7636501 Do not use the same counter for warnings and errors. Anton Korobeynikov 2020-11-01 23:57:42 +03:00
  • e1dad31f27 On Darwin, using MADV_FREE_REUSABLE/MADV_FREE_REUSE. David Carlier 2020-10-31 22:22:04 +00:00
  • 2cb1b50aa4 DragonFly support fix (for 5.8.x and forward). The pthread slot approach is somewhat buggy (pretty visible with the stress unit test which segfault more or less randomly, but the stats never show up). Using the default approach instead, the test passes eventough it s relatively slow (e.g 1.5 sec on FreeBSD vs 4.5 on DragonFly with same machine). David Carlier 2020-10-22 11:15:37 +01:00
  • 5bc3c4bab9 fix for x32 builds Vasya B 2020-10-19 21:00:16 +00:00
  • eab27c4ab3 merge from dev daan 2020-10-15 20:01:38 -07:00
  • 1f7cb16091 better instruction scheduling for alloc daan 2020-10-15 19:46:33 -07:00
  • 12cb8d1e03 add test to avoid searching arenas when possible daan 2020-10-15 19:46:19 -07:00
  • d518e6b155 merge from dev daan 2020-10-11 13:38:12 -07:00
  • 135f1689e8 fix unused parameter warning daan 2020-10-11 13:22:14 -07:00
  • 2eaa85475d fix statistics to include padding correctly (issue #301) daan 2020-10-11 13:14:43 -07:00
  • 9821c6fb0c wrap MI_SECURE conditional in #ifdef to avoid warnings (issue #311) daan 2020-10-11 10:56:57 -07:00
  • 84bfabffe9 add extra NULL checks for heap parameters in the heap API (issue #311) daan 2020-10-11 10:50:09 -07:00
  • 0f42e525d3 use allow_decommit option for both the segment cache and pages daan 2020-09-24 17:20:39 -07:00
  • 12417e3205 use relaxed load for last search position in an arena daan 2020-09-24 16:55:00 -07:00
  • 26e3911385 Merge branch 'dev' into dev-slice daan 2020-09-24 16:33:22 -07:00
  • 38d0369f2b Merge branch 'master' into dev daan 2020-09-24 16:32:56 -07:00
  • 50ecd02435 bump version to 1.6.7 daan 2020-09-24 16:30:40 -07:00
  • f00f79593f use relaxed load for region count as that is monotonic daan 2020-09-24 16:29:41 -07:00
  • d40b7cb827 fuse used decrement with test for slightly better codegen daan 2020-09-24 16:28:25 -07:00
  • d2ef93489d Update readme.md Daan 2020-09-24 10:38:18 -07:00
  • 357d413a02 Merge branch 'master' into dev daan 2020-09-24 10:33:49 -07:00
  • 2c6ef6dec8 further updates to documentation daan 2020-09-24 10:33:33 -07:00
  • 1ee068ab22 Merge branch 'master' into dev daan 2020-09-24 10:28:11 -07:00
  • e5e3653d3b Merge branch 'master' of https://github.com/microsoft/mimalloc daan 2020-09-24 10:26:14 -07:00
  • 7da810b0f9 update documentation daan 2020-09-24 10:26:08 -07:00
  • 2196c8a12f Update readme.md Daan 2020-09-24 10:18:00 -07:00
  • 171a299528 Merge branch 'dev' into dev-slice daan 2020-09-24 10:16:54 -07:00
  • 2747ce95e0 bump version to 1.6.7 for further development daan 2020-09-24 10:16:40 -07:00
  • 1f0d2b851c bump version to 1.6.6 daan 2020-09-24 10:14:10 -07:00
  • 1d1b4c6d27 extend mi_process_info to include elapsed time daan 2020-09-24 10:13:25 -07:00
  • c0fb47353e Merge branch 'dev' into dev-slice daan 2020-09-24 09:29:43 -07:00
  • b7750a4c29 bump version for further development daan 2020-09-24 09:29:37 -07:00
  • 787fba6a1a Merge branch 'dev-exp' into dev-slice daan 2020-09-24 09:11:58 -07:00
  • 13c1e13464 Merge branch 'dev' into dev-exp daan 2020-09-24 09:11:49 -07:00
  • 561d6eaf8a update readme daan 2020-09-24 09:05:01 -07:00
  • 108daf2d52 update readme for upcoming release; add acknowledgements daan 2020-09-23 20:37:17 -07:00
  • 03949faafd fix spelling daan 2020-09-23 20:02:24 -07:00
  • 7d0934e223 Merge branch 'master' into dev daan 2020-09-23 20:00:37 -07:00
  • 70875f7ddf bump version to 1.6.5 daan 2020-09-23 20:00:23 -07:00
  • c676f1bad8 increase default test load to 25% to increase azure pipeline test load daan 2020-09-14 11:01:17 -07:00
  • ddf31239b9 fix valid pointer detection on mac Daan Leijen 2020-09-14 10:42:47 -07:00
  • 888ca71a49 Merge pull request #297 from Shivam7-1/patch-2 Daan 2020-09-14 09:13:20 -07:00
  • d600ac057f Merge pull request #302 from devnexen/haiku_build_fix Daan 2020-09-14 09:11:25 -07:00
  • c5cc54beae Merge pull request #304 from isanych/do_not_require_version Daan 2020-09-14 09:08:05 -07:00
  • 13151f5f8d merge from dev-exp daan 2020-09-14 09:05:16 -07:00
  • c59b897d25 merge from dev daan 2020-09-14 09:03:52 -07:00
  • 8ec77b5dae improve handling of out-of-memory situations daan 2020-09-14 09:02:06 -07:00
  • e76a420497 Merge pull request #303 from isanych/fix_access_violation Daan 2020-09-14 08:49:52 -07:00
  • 7654ebfa55 Update readme.md Daan 2020-09-14 08:31:20 -07:00
  • 7e67f64bdb Update readme.md Daan 2020-09-14 08:30:49 -07:00
  • 2bcfcd9841 Do not require to specify version for cmake find_package Igor Kostenko 2020-09-14 11:13:03 +01:00
  • 6ae6aec1d3 Fix rare access violation on out of memory Igor Kostenko 2020-09-14 10:50:22 +01:00
  • 8408d22f35 fix assertion daan 2020-09-11 11:00:19 -07:00
  • 0f9b7b881b fix all_committed daan 2020-09-11 10:40:22 -07:00
  • f2917980db Haiku build fix. David Carlier 2020-09-10 18:49:19 +00:00
  • 5d9c71e60d merge from dev (with is_pinned/is_large separation) daan 2020-09-08 17:54:58 -07:00
  • 1f913c76d7 add environment option mi_reserve_os_memory daan 2020-09-08 17:16:31 -07:00
  • 4f2e9451d5 add option to limit OS allocation and only allow allocation from arenas daan 2020-09-08 16:56:51 -07:00
  • 0b9c6b12be track pinned memory separately from large os pages daan 2020-09-08 16:46:03 -07:00
  • cecf2c1cd1 update comments daan 2020-09-08 15:50:37 -07:00
  • 5d09e7d499 refactor segment cache and map in a separate source file daan 2020-09-08 13:27:34 -07:00
  • df012ed4c9 refactor arena allocation daan 2020-09-08 11:12:44 -07:00
  • 8e74167dec tune performance options with longer reset delay daan 2020-09-08 11:12:23 -07:00
  • 355601f182 merge from dev (bitmap split) daan 2020-09-08 10:33:30 -07:00
  • b724e27cb9 split bitmap code into separate header and source file daan 2020-09-08 10:14:13 -07:00
  • 40259a8bd2 consolidate bit scan operations daan 2020-09-08 09:27:57 -07:00
  • 2fb85043db test for arena count early; skip test in bitmap_mask_ for perf daan 2020-09-07 22:55:36 -07:00
  • d76aea9618 merge from dev daan 2020-09-07 21:43:05 -07:00
  • 0425df9a89 add mi_reserve_os_memory/mi_manage_os_memory; allow arena allocations to cross multiple bitmap fields daan 2020-09-07 21:34:34 -07:00
  • 96d046de06 ensure page->retire_expire is always 1 daan 2020-09-07 15:20:59 -07:00
  • 774b1d207b fix is_in_same_page check daan 2020-09-06 15:09:51 -07:00
  • 7e5a4816c6 use dynamic initial commit daan 2020-09-06 14:51:20 -07:00
  • 8af159c39b Merge branch 'dev' into dev-slice daan 2020-09-06 13:53:30 -07:00
  • bde39c40f5 update documentation daan 2020-09-06 13:53:13 -07:00
  • cc045773b3 update mi_process_info to not use doubles daan 2020-09-06 13:53:02 -07:00
  • 533c142e69 merge from dev daan 2020-09-06 13:24:47 -07:00
  • c7d4fe3a28 Merge branch 'dev' into dev-slice daan 2020-09-06 13:22:44 -07:00
  • 7cfc35e9d5 add mi_process_info api call daan 2020-09-06 13:21:19 -07:00
  • 80c3a157e2 add i64 atomics daan 2020-09-06 13:21:02 -07:00
  • 645b55ba2b consistent commit order daan 2020-09-06 12:19:05 -07:00
  • 3437769160 use MADV_DONTNEED for commit/decommit on macOS daan 2020-09-06 12:06:56 -07:00
  • 2d87a7b75f experiment with commit strategy on macOS daan 2020-09-06 09:39:16 -07:00
  • 79dcf7dbd7 fix pipeline script for macOS daan 2020-09-06 09:14:32 -07:00
  • 0b80f9fc22 Merge branch 'dev' into dev-slice daan 2020-09-06 09:13:14 -07:00
  • c7655cf61b fix indentation in pipeline script daan 2020-09-06 09:10:38 -07:00
  • 575741bed5 merge from dev daan 2020-09-06 09:09:55 -07:00
  • 84227790cf better ctest invocation on pipelines daan 2020-09-06 09:09:00 -07:00
  • e02d44d7b3 build windows pipeline in parallel daan 2020-09-06 09:02:15 -07:00
  • 5f4aaefe1a verbose ctest on Linux pipeline daan 2020-09-06 08:57:56 -07:00
  • 16d376051e Merge branch 'dev' into dev-slice daan 2020-09-06 08:50:44 -07:00
  • 95011806ae switch back to using bcryptrandom number generation on Windows to fix azure pipeline tests daan 2020-09-06 08:50:23 -07:00
  • 6896e89d26 experiment with bcrypt api again daan 2020-09-06 08:33:27 -07:00
  • 81e2885dec link with advapi32 on windows daan 2020-09-06 08:29:08 -07:00
  • 50aff536ea Merge branch 'dev' into dev-slice daan 2020-09-05 22:55:52 -07:00