daan
|
09c658dd40
|
try to allocate within our hint space (partially addresses issue #360)
|
2021-11-15 10:10:47 -08:00 |
|
daan
|
f412df7a2b
|
make segment size smaller on 32-bit
v2.0.3
|
2021-11-14 16:52:10 -08:00 |
|
daan
|
5a1c3c8a4a
|
Merge branch 'dev' into dev-slice
|
2021-11-14 16:48:04 -08:00 |
|
daan
|
0560fc27c0
|
update readme
v1.7.3
|
2021-11-14 16:47:50 -08:00 |
|
daan
|
85eccf324f
|
Merge branch 'master' into dev
|
2021-11-14 16:44:54 -08:00 |
|
daan
|
7cd5b22ca7
|
Merge branch 'dev' into dev-slice
|
2021-11-14 16:41:32 -08:00 |
|
daan
|
6ca454a04a
|
update readme
|
2021-11-14 16:41:24 -08:00 |
|
Daan
|
18fc788201
|
merge from dev
|
2021-11-14 15:39:05 -08:00 |
|
Daan
|
4a590b1447
|
bump version number to 1.7.3
|
2021-11-14 15:33:56 -08:00 |
|
Daan
|
07253fb44c
|
emit error message if out-of-memory in C++
|
2021-11-14 15:33:04 -08:00 |
|
Daan
|
d67ff1ca9f
|
add include cstdef for std::size_t in C++
|
2021-11-14 15:32:43 -08:00 |
|
Daan
|
4ce6821c09
|
update cmake install for MI_INSTALL_TOPLEVEL
|
2021-11-14 15:32:21 -08:00 |
|
Daan
|
1ebb74cb7a
|
Merge pull request #455 from paulip1792/reserve-hugepages-by-numa-node
add option to reserve huge os pages at a specific numa node.
|
2021-11-14 14:56:13 -08:00 |
|
Daan
|
5e55525e5e
|
Merge pull request #483 from joy4eg/install-dirs-dev
cmake: removed hardcoded names for top level configuration
|
2021-11-14 14:49:48 -08:00 |
|
Daan
|
c235c3cccb
|
Merge pull request #484 from sblondon/patch-1
Fix preload path in documentation example
|
2021-11-14 14:48:08 -08:00 |
|
Daan
|
9c9c3a0311
|
Merge pull request #485 from devnexen/builtin_overflow_sig_fix
fix spurious build warning with overflow builtins
|
2021-11-14 14:47:38 -08:00 |
|
Daan
|
5a05fd446a
|
fix compilation on macos
|
2021-11-14 14:38:24 -08:00 |
|
daan
|
e4f0a95a56
|
Merge branch 'dev-slice-cmask' into dev-slice
|
2021-11-14 14:35:46 -08:00 |
|
daan
|
c520901069
|
fix slice count comment
|
2021-11-14 12:10:07 -08:00 |
|
daan
|
70547b5f16
|
fix slice count
|
2021-11-14 12:09:20 -08:00 |
|
daan
|
32170897dd
|
make decommit size equal to slice size
|
2021-11-14 11:45:28 -08:00 |
|
daan
|
c46a6f66c6
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-14 11:26:47 -08:00 |
|
daan
|
f039774cf5
|
adjust decommit delay
|
2021-11-14 11:26:30 -08:00 |
|
daan
|
a4ea2205ba
|
merge from dev
|
2021-11-14 11:25:51 -08:00 |
|
daan
|
4b0cda2012
|
take overcommit into account for eager commit delay
|
2021-11-14 11:23:11 -08:00 |
|
daan
|
511a8996f3
|
increase commit mask blocks to 2xslice size
|
2021-11-13 20:12:03 -08:00 |
|
daan
|
7e22e5ce6e
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-13 19:44:05 -08:00 |
|
daan
|
fa66db840d
|
increase decommit hysterisis
|
2021-11-13 19:43:52 -08:00 |
|
daan
|
fb5645a30d
|
increase decommit hysterisis
|
2021-11-13 19:41:41 -08:00 |
|
daan
|
7a3cf405d3
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-13 17:12:42 -08:00 |
|
daan
|
cdfbd6d08f
|
decommit when abandoned segments move to the visited list
|
2021-11-13 17:12:21 -08:00 |
|
daan
|
12bfd18ba7
|
fix commit mask for huge segments
|
2021-11-13 16:15:03 -08:00 |
|
daan
|
627892852c
|
merge from dev-slice
|
2021-11-13 15:53:57 -08:00 |
|
daan
|
b72065f04b
|
move commit mask functions to segment.c
|
2021-11-13 15:50:26 -08:00 |
|
daan
|
4f9d5f7dc6
|
merge from dev-slice
|
2021-11-13 15:33:03 -08:00 |
|
daan
|
f1ce9228a1
|
use size_t for bitmask
|
2021-11-13 15:29:57 -08:00 |
|
daan
|
88e6b52b88
|
fix types to size_t
|
2021-11-13 15:25:51 -08:00 |
|
daan
|
f9597ba7cb
|
merge from dev-slice
|
2021-11-13 15:18:56 -08:00 |
|
daan
|
83ffd92b2b
|
merge from dev
|
2021-11-13 15:16:23 -08:00 |
|
daan
|
09e59e0610
|
use size_t instead of uintptr_t where appropiate
|
2021-11-13 15:13:16 -08:00 |
|
daan
|
721486c82b
|
merge from dev
|
2021-11-13 14:52:11 -08:00 |
|
daan
|
28896e5b19
|
prefix UNUSED,KiB,MiB,GiB; add mi_threadid_t type; add mi_ssize_t
|
2021-11-13 14:46:03 -08:00 |
|
daan
|
0a86b45a91
|
Merge branch 'dev' into dev-slice
|
2021-11-13 14:13:12 -08:00 |
|
daan
|
959845540d
|
use W4 for msvc compilation
|
2021-11-13 14:13:03 -08:00 |
|
daan
|
9afc253726
|
add comments, renaming
|
2021-11-13 14:03:16 -08:00 |
|
daan
|
8bf16746e9
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-13 13:31:00 -08:00 |
|
daan
|
97a1584bb5
|
Merge branch 'dev' into dev-slice
|
2021-11-13 13:30:17 -08:00 |
|
daan
|
c56be7ac5a
|
show cflags in cmake; fix -fno-builtin-malloc flag
|
2021-11-13 13:30:03 -08:00 |
|
daan
|
5dc4ec48fe
|
lower default reset delay
|
2021-11-12 21:15:11 -08:00 |
|
daan
|
53e2260ca0
|
merge
|
2021-11-12 20:14:03 -08:00 |
|
daan
|
a2b08664f7
|
merge from dev
|
2021-11-12 20:00:43 -08:00 |
|
daan
|
d52b559b57
|
use eager delay after 2 threads
|
2021-11-12 19:59:59 -08:00 |
|
daan
|
f58b4d923a
|
comment
|
2021-11-12 19:58:49 -08:00 |
|
daan
|
9322123a97
|
start eager commit delay at N>2
|
2021-11-12 19:32:57 -08:00 |
|
daan
|
6ace2fe4e0
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-12 19:04:35 -08:00 |
|
daan
|
5c08f75d69
|
merge from dev
|
2021-11-12 19:04:18 -08:00 |
|
daan
|
f9ac60a90f
|
suppres eager commit delay for the first 4 threads
|
2021-11-12 19:03:20 -08:00 |
|
daan
|
9e6ace6bcc
|
Merge branch 'dev-slice' into dev-slice-cmask
|
2021-11-12 18:46:38 -08:00 |
|
daan
|
e5a3f3d7c4
|
merge from dev
|
2021-11-12 18:46:16 -08:00 |
|
daan
|
d2de66b8fa
|
do not delay eager commit for the main thread
|
2021-11-12 18:44:33 -08:00 |
|
daan
|
335d554438
|
merge from dev-slice
|
2021-11-12 18:38:14 -08:00 |
|
daan
|
c6b82a4b37
|
wip: change decommit expiration
|
2021-11-12 17:31:21 -08:00 |
|
daan
|
b1aff903f5
|
fix decommit bug
|
2021-11-11 17:45:41 -08:00 |
|
daan
|
998c2de633
|
merge from dev-slice
|
2021-11-10 16:49:43 -08:00 |
|
daan
|
ba6b4bf622
|
merge from dev
|
2021-11-10 16:33:42 -08:00 |
|
daan
|
49d64dbc95
|
save decommit_mask for segments in the segment cache
|
2021-11-10 16:30:21 -08:00 |
|
daan
|
8cc7d0c019
|
increase segment size to 64MiB
|
2021-11-10 16:29:53 -08:00 |
|
Daan
|
f72e5688f5
|
remove assign in while condition
|
2021-11-10 11:58:04 -08:00 |
|
Daan
|
fd61997cef
|
improve aligned support on BSD and MAP_ALIGN systems
|
2021-11-10 11:26:36 -08:00 |
|
Daan
|
89abbe75d8
|
improve aligned support on BSD and MAP_ALIGN systems
|
2021-11-10 11:23:11 -08:00 |
|
Daan
|
8c9ccea2f5
|
fix huge page madvise in case mmap failed
|
2021-11-10 10:46:06 -08:00 |
|
daan
|
49c75a3157
|
wip: increase commit mask resolution
|
2021-11-09 20:19:31 -08:00 |
|
Daan
|
865baa3bb1
|
Merge branch 'dev-slice' of https://github.com/microsoft/mimalloc into dev-slice
|
2021-11-06 14:19:32 -07:00 |
|
Daan
|
a4e7ff8608
|
Merge branch 'dev' into dev-slice
|
2021-11-06 14:19:26 -07:00 |
|
Daan
|
e96614961f
|
fix printf format type mismatches (issue #486)
|
2021-11-06 14:19:14 -07:00 |
|
daan
|
c17878d1a7
|
Merge branch 'dev' into dev-slice
|
2021-11-04 19:10:31 -07:00 |
|
daan
|
f2e3cca213
|
fix build for missing malloc_good_size
|
2021-11-04 19:10:15 -07:00 |
|
Daan
|
464cba833e
|
Merge branch 'dev' into dev-slice
|
2021-11-04 18:55:34 -07:00 |
|
Daan
|
c47de7eb90
|
improve macOS overriding
|
2021-11-04 18:55:12 -07:00 |
|
Daan
|
e853f530a0
|
add noexcept attributes to improve mi_free codegen
|
2021-11-04 18:54:57 -07:00 |
|
Daan
|
f3ffa663f1
|
merge from dev
|
2021-11-02 22:42:25 -07:00 |
|
Daan
|
32ee13f41e
|
improve macOS M1 performance; use interpose in combination with zone's; add -fno-builtin-malloc flag in building with MI_OVERRIDE
|
2021-11-02 21:54:44 -07:00 |
|
Daan
|
751a2249c8
|
add mi_decl_externc, nice layout
|
2021-11-02 21:53:20 -07:00 |
|
Daan
|
5360639748
|
add mi_malloc_good_size
|
2021-11-02 21:52:00 -07:00 |
|
Daan
|
74efd6ddac
|
use load relaxed in mi_free for better code on M1
|
2021-11-02 21:50:54 -07:00 |
|
Daan
|
dbf8bafc3a
|
avoid accessing the thread_id after process initialized is set
|
2021-11-02 21:50:15 -07:00 |
|
Daan
|
d0d47e6489
|
avoid accessing the thread_id after process initialized is set
|
2021-11-02 21:49:05 -07:00 |
|
dc
|
5b0e73281f
|
fix spurious build warning with overflow builtins
|
2021-10-28 22:43:21 +01:00 |
|
sblondon
|
5a5e4e3036
|
Fix preload path in documentation example
The .so files are usually in `/usr/lib`, not `/usr/bin`. The updated path is the same as below in the text.
|
2021-10-28 15:01:36 +02:00 |
|
Yaroslav Syrytsia
|
0ead911b6b
|
cmake: removed hardcoded names for top level configuration
|
2021-10-28 12:04:48 +03:00 |
|
Daan Leijen
|
9c3e6a25f6
|
Merge branch 'dev' into dev-slice
|
2021-10-27 19:06:42 -07:00 |
|
Daan Leijen
|
1b1c9186a4
|
suppress warning on discard attribute on forwards
|
2021-10-27 19:06:27 -07:00 |
|
Daan
|
db223e4adb
|
merge from dev
|
2021-10-27 18:09:16 -07:00 |
|
Daan
|
5fd77aa198
|
refactor os_overcommit detection
|
2021-10-27 17:39:11 -07:00 |
|
Daan
|
0335d32766
|
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
|
2021-10-27 17:25:09 -07:00 |
|
Daan
|
88d5349d47
|
Merge pull request #479 from devnexen/overcommit_if_the_system_approves
proposal to not overcommit page unconditionally on Linux and FreeBSD,
|
2021-10-27 17:24:57 -07:00 |
|
Daan
|
13b30bf2dd
|
Merge branch 'dev' into overcommit_if_the_system_approves
|
2021-10-27 17:12:18 -07:00 |
|
Daan
|
f3db35e6b6
|
Merge commit 'fdcdc4c' into dev
|
2021-10-27 17:09:30 -07:00 |
|
Daan
|
fdcdc4cf2a
|
only set visibility attribute when compiling for a shared library (issue #475)
|
2021-10-27 17:08:41 -07:00 |
|
Daan
|
6ccf7e87c0
|
minor edits
|
2021-10-27 17:08:00 -07:00 |
|