mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
make reclaim tries a percentage of the abandoned count
This commit is contained in:
parent
cf8f73098e
commit
c4f1f2e079
4 changed files with 16 additions and 5 deletions
|
@ -126,6 +126,7 @@ void _mi_arena_unsafe_destroy_all(mi_stats_t* stats);
|
|||
|
||||
bool _mi_arena_segment_clear_abandoned(mi_memid_t memid);
|
||||
void _mi_arena_segment_mark_abandoned(mi_memid_t memid);
|
||||
size_t _mi_arena_segment_abandoned_count(void);
|
||||
|
||||
typedef struct mi_arena_field_cursor_s { // abstract
|
||||
mi_arena_id_t start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue