summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2022-02-02 17:08:05 -0800
committerDaan <daanl@outlook.com>2022-02-02 17:08:05 -0800
commitccfe00573172ce40c715629a8ed4691149227407 (patch)
treea1ba6437f457015dbf987705df47918cd61c69d7 /include/mimalloc-internal.h
parentbd2ac3c92e3e00ec02b09081a7678478b42abf65 (diff)
decommit in abandoned pages on mi_collect
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 8814219..8e8b5c9 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -110,6 +110,7 @@ void _mi_segment_huge_page_free(mi_segment_t* segment, mi_page_t* page, mi
uint8_t* _mi_segment_page_start(const mi_segment_t* segment, const mi_page_t* page, size_t* page_size); // page start for any page
void _mi_abandoned_reclaim_all(mi_heap_t* heap, mi_segments_tld_t* tld);
void _mi_abandoned_await_readers(void);
+void _mi_abandoned_collect(mi_heap_t* heap, bool force, mi_segments_tld_t* tld);