mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
only allow page_reclaim_on_free for small block pages
This commit is contained in:
parent
11f0c9d209
commit
59eeeadc34
3 changed files with 7 additions and 6 deletions
|
@ -433,7 +433,7 @@ static inline bool mi_heap_is_backing(const mi_heap_t* heap) {
|
|||
return (heap->tld->heap_backing == heap);
|
||||
}
|
||||
|
||||
static inline bool mi_heap_is_initialized(mi_heap_t* heap) {
|
||||
static inline bool mi_heap_is_initialized(const mi_heap_t* heap) {
|
||||
mi_assert_internal(heap != NULL);
|
||||
return (heap != NULL && heap != &_mi_heap_empty);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue