Commit graph

1452 commits

Author SHA1 Message Date
daan
840eba2874 improve handling of out-of-memory situations 2020-09-14 09:02:06 -07:00
Daan
ff7b6c54bd
Merge pull request #303 from isanych/fix_access_violation
Fix rare access violation on out of memory
2020-09-14 08:49:52 -07:00
Daan
0df0c17f5a
Update readme.md 2020-09-14 08:31:20 -07:00
Daan
d6ca70c9cc
Update readme.md
Clarify the distinctive idea of mimalloc as free-list multi-sharding
2020-09-14 08:30:49 -07:00
Igor Kostenko
f5e3cca74e Do not require to specify version for cmake find_package 2020-09-14 11:13:03 +01:00
Igor Kostenko
bf9c3bd088 Fix rare access violation on out of memory 2020-09-14 10:50:22 +01:00
daan
01307a25ff fix assertion 2020-09-11 11:00:19 -07:00
daan
1d946146cc fix all_committed 2020-09-11 10:40:22 -07:00
David Carlier
568d6e532b Haiku build fix.
Haiku does not provide page faults statistics only system wide.
2020-09-10 18:49:19 +00:00
daan
fa01875eb2 merge from dev (with is_pinned/is_large separation) 2020-09-08 17:54:58 -07:00
daan
8607ff617c add environment option mi_reserve_os_memory 2020-09-08 17:16:31 -07:00
daan
364674185e add option to limit OS allocation and only allow allocation from arenas 2020-09-08 16:56:51 -07:00
daan
14b8d27386 track pinned memory separately from large os pages 2020-09-08 16:46:03 -07:00
daan
d87933a3b5 update comments 2020-09-08 15:50:37 -07:00
daan
037285ac09 refactor segment cache and map in a separate source file 2020-09-08 13:27:34 -07:00
daan
161f9a7751 refactor arena allocation 2020-09-08 11:12:44 -07:00
daan
97629cefaa tune performance options with longer reset delay 2020-09-08 11:12:23 -07:00
daan
a948724340 merge from dev (bitmap split) 2020-09-08 10:33:30 -07:00
daan
c86459afef split bitmap code into separate header and source file 2020-09-08 10:14:13 -07:00
daan
30b993ecf3 consolidate bit scan operations 2020-09-08 09:27:57 -07:00
daan
6b013d5f38 test for arena count early; skip test in bitmap_mask_ for perf 2020-09-07 22:55:36 -07:00
daan
371532ff02 merge from dev 2020-09-07 21:43:05 -07:00
daan
c7272afa9a add mi_reserve_os_memory/mi_manage_os_memory; allow arena allocations to cross multiple bitmap fields 2020-09-07 21:34:34 -07:00
daan
313008ecaa ensure page->retire_expire is always 1 2020-09-07 15:20:59 -07:00
daan
953bbde089 fix is_in_same_page check 2020-09-06 15:09:51 -07:00
daan
3826132240 use dynamic initial commit 2020-09-06 14:51:20 -07:00
daan
b7046934e5 Merge branch 'dev' into dev-slice 2020-09-06 13:53:30 -07:00
daan
d8f8159dda update documentation 2020-09-06 13:53:13 -07:00
daan
46ee8952eb update mi_process_info to not use doubles 2020-09-06 13:53:02 -07:00
daan
45300ac43d merge from dev 2020-09-06 13:24:47 -07:00
daan
8c838a949f Merge branch 'dev' into dev-slice 2020-09-06 13:22:44 -07:00
daan
ee286919d9 add mi_process_info api call 2020-09-06 13:21:19 -07:00
daan
4355ab7d20 add i64 atomics 2020-09-06 13:21:02 -07:00
daan
8e0d846b40 consistent commit order 2020-09-06 12:19:05 -07:00
daan
828613a694 use MADV_DONTNEED for commit/decommit on macOS 2020-09-06 12:06:56 -07:00
daan
5ae01fe4d9 experiment with commit strategy on macOS 2020-09-06 09:39:16 -07:00
daan
e2ae9f3125 fix pipeline script for macOS 2020-09-06 09:14:32 -07:00
daan
c821e5144a Merge branch 'dev' into dev-slice 2020-09-06 09:13:14 -07:00
daan
e1b4f036ca fix indentation in pipeline script 2020-09-06 09:10:38 -07:00
daan
803e6f9e46 merge from dev 2020-09-06 09:09:55 -07:00
daan
f28f41f530 better ctest invocation on pipelines 2020-09-06 09:09:00 -07:00
daan
e703bfc319 build windows pipeline in parallel 2020-09-06 09:02:15 -07:00
daan
a372847ccf verbose ctest on Linux pipeline 2020-09-06 08:57:56 -07:00
daan
4f7bc7d98e Merge branch 'dev' into dev-slice 2020-09-06 08:50:44 -07:00
daan
9113281165 switch back to using bcryptrandom number generation on Windows to fix azure pipeline tests 2020-09-06 08:50:23 -07:00
daan
f7b94fe21c experiment with bcrypt api again 2020-09-06 08:33:27 -07:00
daan
e740242978 link with advapi32 on windows 2020-09-06 08:29:08 -07:00
daan
500a9208d5 Merge branch 'dev' into dev-slice 2020-09-05 22:55:52 -07:00
daan
a9ad0cb68d comment out vs2017 pipeline 2020-09-05 22:36:59 -07:00
daan
dd0ce3c414 specify x64 for vs2017 pipeline 2020-09-05 22:31:59 -07:00