Daan Leijen
|
5a90a2a9a1
|
merge from dev
|
2022-04-04 17:40:29 -07:00 |
|
Daan Leijen
|
5613ffb508
|
use heap_stat_increase macros when possible
|
2022-04-04 17:38:28 -07:00 |
|
Daan Leijen
|
1f089e99f6
|
Merge branch 'dev' into dev-slice
|
2022-04-02 11:42:02 -07:00 |
|
Daan Leijen
|
72ab945e28
|
improve fallback code for aligned allocation on Windows
|
2022-04-02 11:38:07 -07:00 |
|
Daan Leijen
|
d1db0ffb72
|
when MIMALLOC_VERBOSE is set, the all errors/warnings are shown
|
2022-04-02 11:26:56 -07:00 |
|
Daan Leijen
|
3fa53244c2
|
add better warning messages if aligning or freeing OS memory fails
|
2022-04-02 10:11:36 -07:00 |
|
Daan Leijen
|
b2598e7ee4
|
allow setting MIMALLOC_MAX_ERRORS/WARNINGS to -1 to get unlimited error/warning messages
|
2022-04-02 09:46:25 -07:00 |
|
Daan Leijen
|
73012bf654
|
add thread id to trace, warning, and error messages
|
2022-04-02 09:29:09 -07:00 |
|
Roman Gershman
|
1f8138a4dc
|
Fix wrong reporting of area used bytes
Fixes #552
|
2022-02-28 09:26:00 +02:00 |
|
Daan
|
18c1891708
|
Merge branch 'dev' into dev-slice
|
2022-02-22 16:46:06 -08:00 |
|
Daan
|
f1d7f972a9
|
Merge pull request #550 from devnexen/old_apple_build_fix
fix build on older macOs releases, aligned_alloc only from catalina.
|
2022-02-22 16:42:45 -08:00 |
|
David CARLIER
|
40e0507a59
|
fix build on older macOs releases, aligned_alloc only from catalina.
closes #549
|
2022-02-22 22:01:26 +00:00 |
|
Daan
|
3040da1cb8
|
add delete nothrow variants for aligned deletion as well (see #551)
|
2022-02-22 13:52:31 -08:00 |
|
Biswapriyo Nath
|
cf89fc6338
|
Fix strict function prototype warnings
Fix warning: function declaration isn't a prototype [-Wstrict-prototypes]
In C int foo() and int foo(void) are different functions.
|
2022-02-18 12:06:08 +05:30 |
|
Daan
|
19edc880da
|
merge from dev
|
2022-02-14 16:36:03 -08:00 |
|
Daan
|
a126d186db
|
Merge commit 'c3b577df' into dev
|
2022-02-14 16:33:26 -08:00 |
|
Daan
|
c3b577df0d
|
fix for macOS M1 Monteray to check pointers in zone_size
|
2022-02-14 16:32:28 -08:00 |
|
daan
|
26695dc582
|
Merge branch 'dev' into dev-slice
|
2022-02-14 15:45:10 -08:00 |
|
daan
|
8cf985ac8f
|
fix warning on freebsd
|
2022-02-14 15:44:50 -08:00 |
|
daan
|
96008c55d0
|
fix ubsan warning on huge allocations (issue #543)
|
2022-02-10 11:57:30 -08:00 |
|
daan
|
f2b6938d64
|
fix start adjustment for the commit mask
|
2022-02-05 17:36:14 -08:00 |
|
daan
|
47f8caad4d
|
improve commit chunk alignment
|
2022-02-05 17:23:28 -08:00 |
|
daan
|
e11100a137
|
add minimal commit size for increased efficiency (decommit fine grained, commit coarse grained)
|
2022-02-05 10:57:15 -08:00 |
|
daan
|
9ca363d0e4
|
merge from dev
|
2022-02-04 16:13:12 -08:00 |
|
daan
|
f2bfaa74fe
|
enable eager delay even on overcommit systems
|
2022-02-04 16:12:22 -08:00 |
|
daan
|
0e2df71829
|
increase minimal commit size to 8*slice-size and add decommit_extend_delay as option
|
2022-02-04 16:11:38 -08:00 |
|
daan
|
fb418831df
|
only delay eager commit after the first thread
|
2022-02-04 16:10:51 -08:00 |
|
Daan
|
0e1beb0018
|
check for decommit allowed before purging the segment cache
|
2022-02-03 15:51:27 -08:00 |
|
Daan
|
cbcee4dce4
|
merge from dev
|
2022-02-03 15:49:27 -08:00 |
|
daan
|
741d39a004
|
fix over aggressive decommit of abandoned pages
|
2022-02-03 14:26:56 -08:00 |
|
Daan
|
df998563bc
|
Merge pull request #530 from Jarred-Sumner/bun
Add MI_SKIP_COLLECT_ON_EXIT flag
|
2022-02-02 20:41:14 -08:00 |
|
Daan
|
3e05c64d8b
|
fix compile error on macOS 10.13 for claimed_address; fix by @michaeljclark, issue #527
|
2022-02-02 20:12:26 -08:00 |
|
Daan
|
f4e221917b
|
Merge branch 'dev' into bun
|
2022-02-02 19:56:27 -08:00 |
|
Daan
|
4e65b5018f
|
clean up options
|
2022-02-02 19:01:41 -08:00 |
|
Daan
|
932f866105
|
decommit segment cache on force collect
|
2022-02-02 18:28:02 -08:00 |
|
Daan
|
ccfe005731
|
decommit in abandoned pages on mi_collect
|
2022-02-02 17:08:05 -08:00 |
|
Daan
|
bd2ac3c92e
|
collect segment cache on mi_collect
|
2022-02-02 16:17:21 -08:00 |
|
Daan
|
05aa7648bb
|
merge from dev
|
2022-02-02 16:17:06 -08:00 |
|
Daan Leijen
|
6ff2312ab5
|
fix warning in vs2019
|
2022-02-02 13:05:32 -08:00 |
|
Daan
|
3cf2b629f9
|
fix compiler error on older macOS due to const atomic (issue #540)
|
2022-01-31 12:47:50 -08:00 |
|
Daan
|
3b93554ce6
|
merge from dev
|
2022-01-22 13:09:18 -08:00 |
|
Daan
|
a4303c6931
|
fix link error to _mi_bin with C++; issue #533
|
2022-01-22 10:08:16 -08:00 |
|
Jarred Sumner
|
d2e727f0e8
|
Add MI_SKIP_COLLECT_ON_EXIT flag
|
2022-01-18 21:11:12 -08:00 |
|
Daan Leijen
|
1718fc811e
|
merge from dev
|
2022-01-16 12:41:23 -08:00 |
|
Daan
|
de11349820
|
remove spurious check and add further assertions (issue #526)
|
2022-01-16 12:20:32 -08:00 |
|
Daan
|
2cb2c7fd80
|
fix uint8_t to size_t comparison (issue #525)
|
2022-01-16 12:12:45 -08:00 |
|
Daan
|
9c583eb910
|
fix return code check on syscall (issue #524)
|
2022-01-16 12:10:33 -08:00 |
|
Daan
|
7cde509b68
|
fix warning on clang on macos
|
2022-01-16 12:07:07 -08:00 |
|
Daan
|
ddae097dc6
|
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
|
2022-01-16 12:06:34 -08:00 |
|
Daan Leijen
|
44e7eb12d6
|
Merge branch 'dev' into dev-slice
|
2022-01-12 17:00:04 -08:00 |
|