mi-malloc 3.6/2.5/1.15
Loading...
Searching...
No Matches
Deprecated List
Global mi_check_owned (const void *p)
In v3, use mi_any_heap_contains(); the legacy name checks all heaps, not just the default heap.
Global mi_collect_reduce (size_t target_thread_owned)
Historical collection API, declared but not implemented in v3. Use mi_collect() instead.
Global mi_is_in_heap_region (const void *p)
In v3, use mi_any_heap_contains().
Global mi_reserve_huge_os_pages (size_t pages, double max_secs, size_t *pages_reserved)
Use mi_reserve_huge_os_pages_interleave() or mi_reserve_huge_os_pages_at(). Reserve pages of 1 GiB memory with a time limit in seconds. Optional pages_reserved is set to pages on success, or 0 on failure.
Global mi_stats_merge (void)
In v3, use the heap and subprocess statistics APIs.
Global mi_stats_print (void *out)
Use mi_stats_print_out() with NULL for the default output.
Global mi_stats_reset (void)
In v3, use the heap and subprocess statistics APIs.
Global mi_theap_visit_blocks (const mi_theap_t *theap, bool visit_blocks, mi_block_visit_fun *visitor, void *arg)
Visit areas and optionally allocated blocks in a thread-local heap. Prevent concurrent mutation during the visit; prefer mi_heap_visit_blocks().
Global mi_thread_stats_print_out (mi_output_fun *out, void *arg)
Print the current default theap's statistics, then merge them into its parent heap. out may be NULL for the default output. Prefer mi_heap_stats_print_out().