daanx
|
500d2ad1fd
|
ensure non-arena segments are force purged on abandonment; make non-arena reclaim atomic
|
2024-03-01 18:47:59 -08:00 |
|
daanx
|
c4f1f2e079
|
make reclaim tries a percentage of the abandoned count
|
2024-03-01 14:57:46 -08:00 |
|
daanx
|
cf8f73098e
|
start abandoned search randomized
|
2024-03-01 10:51:18 -08:00 |
|
daanx
|
71bcf1c76b
|
maintain abandoned_count more robustly
|
2024-03-01 10:31:58 -08:00 |
|
daanx
|
1b3eb8ef28
|
quick exit from try_reclaim if no abandoned segments
|
2024-02-29 19:17:24 -08:00 |
|
daanx
|
931d523dcc
|
update mstress to let the main thread participate
|
2024-02-29 18:17:58 -08:00 |
|
daanx
|
64edbc92dd
|
allow abandoned segment reclaim on a free
|
2024-02-29 14:58:59 -08:00 |
|
daanx
|
bdda13b880
|
track abandoned segments in an arena bitmap instead of with a list
|
2024-02-29 14:27:28 -08:00 |
|
daanx
|
7020ed5e52
|
do not purge if purge delay is negative
|
2024-02-29 11:26:03 -08:00 |
|
daanx
|
632edf9996
|
rename was_zero/committed to initially_zero/committed
|
2023-04-24 09:03:43 -07:00 |
|
daanx
|
7f93bf02c9
|
be explicit about memory tracking in os.c
|
2023-04-23 16:40:01 -07:00 |
|
daanx
|
c9dd6f6dc9
|
fix mem tracking for asan
|
2023-04-23 16:06:58 -07:00 |
|
daanx
|
a59ae585c7
|
remove allow_purge option
|
2023-04-23 13:04:50 -07:00 |
|
daanx
|
4cb5b45178
|
fix possible underflow (issue #731)
|
2023-04-21 09:37:05 -07:00 |
|
daanx
|
d48b988c40
|
clean up os api
|
2023-04-16 11:21:45 -07:00 |
|
daanx
|
0fc4de1440
|
use rich memid's to simplify the internal API's and invariants
|
2023-04-15 21:31:17 -07:00 |
|
daanx
|
c90a2bbd0a
|
make memid's abstract for safety
|
2023-04-13 12:17:52 -07:00 |
|
daanx
|
290443aee6
|
fix assertion/invariant
|
2023-04-13 11:41:08 -07:00 |
|
daanx
|
eb62caeda0
|
allow per page purging instead of reset
|
2023-04-08 17:37:58 -07:00 |
|
daanx
|
cdefd5b69c
|
fix stats for purging
|
2023-04-05 11:11:03 -07:00 |
|
daanx
|
96e9e6f570
|
clean up option naming
|
2023-04-05 10:11:54 -07:00 |
|
daanx
|
4c4f2f4084
|
clean up arena function names
|
2023-04-04 18:13:35 -07:00 |
|
daanx
|
db74fc0c98
|
add abandoned reader barrier
|
2023-04-04 16:04:17 -07:00 |
|
daanx
|
a2e1d2b893
|
add segment map to track valid pointers
|
2023-04-04 16:00:17 -07:00 |
|
daanx
|
461df1e878
|
implement arena exclusive heap allocation for dev
|
2023-04-04 15:40:43 -07:00 |
|
daanx
|
77766e20a6
|
use only arena's instead of regions
|
2023-04-04 14:58:06 -07:00 |
|
Daan Leijen
|
cc4ed36c7e
|
prepare for new release
|
2023-04-03 12:30:18 -07:00 |
|
Daan Leijen
|
f806eb8498
|
remove redundant OR in mmap flags (pr #675)
|
2023-03-29 16:15:20 -07:00 |
|
Daan Leijen
|
8e6a475386
|
add ubsan and tsan to pipeline
|
2023-03-29 12:13:59 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|
Johannes Schindelin
|
745a34f475
|
Fix whitespace
This mostly deletes trailing spaces.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
2022-12-03 00:24:20 +01:00 |
|
Daan Leijen
|
a7bd9c08c8
|
fix decommit of huge pages
|
2022-11-23 09:58:45 -08:00 |
|
Daan Leijen
|
969d8bc5fe
|
make huge pages part of the regular page queues again
|
2022-11-22 20:56:35 -08:00 |
|
Daan Leijen
|
fed883c81f
|
refactor mi_segment_init fix
|
2022-11-22 18:44:27 -08:00 |
|
Daan Leijen
|
00a42bf379
|
refactor mi_segment_init
|
2022-11-22 18:42:05 -08:00 |
|
Daan Leijen
|
7dce31f743
|
reenable decommitting of a huge aligned prefix
|
2022-11-22 18:13:27 -08:00 |
|
daan
|
2479d168ad
|
decommit unused prefix of large aligned blocks
|
2022-11-07 16:41:40 -08:00 |
|
daan
|
1f12c3dd12
|
remove MI_ALIGNMENT_MAX and add comments
|
2022-11-07 11:13:42 -08:00 |
|
Daan
|
d1ae630dec
|
Merge branch 'dev-align' of https://github.com/microsoft/mimalloc into dev-align
|
2022-11-06 14:51:37 -08:00 |
|
Daan
|
3eb616f2bf
|
fix bug in secure mode where adjustment would make the page size less than the blocksize on the first page of a segment
|
2022-11-06 14:51:06 -08:00 |
|
daan
|
f788e3c9a3
|
add comment
|
2022-11-06 14:18:52 -08:00 |
|
Daan
|
f54e64365f
|
fix assertions with incorrect block size for large alignments
|
2022-11-06 09:44:12 -08:00 |
|
daan
|
4b91ff760d
|
initial working large alignment
|
2022-11-05 16:40:42 -07:00 |
|
daan
|
6a80fa3ac1
|
initial progress on removing alignment limit
|
2022-11-05 14:46:52 -07:00 |
|
daan
|
a1f5a5d962
|
fix various false positives in test-stress from valgrind
|
2022-10-29 14:37:55 -07:00 |
|
daan
|
c61b365e76
|
valgrind works on test-stress
|
2022-10-29 11:51:04 -07:00 |
|
daan
|
eee7c40da5
|
updates to run valgrind on test-api
|
2022-10-29 11:43:09 -07:00 |
|
Daan Leijen
|
7bc602ebb4
|
redefine mi_likely/mi_unlikely to work with C++ 20 [[likely]] attributes
|
2022-04-19 19:50:06 -07:00 |
|
Daan Leijen
|
f87cba9bd8
|
add max segment reclaim as an option
|
2022-04-14 16:05:49 -07:00 |
|
Daan Leijen
|
f4b7ea9e9e
|
fix compile warnings
|
2022-04-09 16:20:27 -07:00 |
|