mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
limit reclaim from free to half the segments to prevent a pure freeing thread to reclaim too many segments
This commit is contained in:
parent
40517890d4
commit
5fe83bf327
4 changed files with 36 additions and 14 deletions
|
@ -121,7 +121,7 @@ static mi_tld_t tld_main = {
|
|||
0, false,
|
||||
&_mi_heap_main, &_mi_heap_main,
|
||||
{ { NULL, NULL }, {NULL ,NULL}, {NULL ,NULL, 0},
|
||||
0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0,
|
||||
&tld_main.stats, &tld_main.os
|
||||
}, // segments
|
||||
{ 0, &tld_main.stats }, // os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue