mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-11 09:49:31 +03:00
merge from dev3
This commit is contained in:
parent
36bf7dfc45
commit
8d2b7b0383
1 changed files with 0 additions and 4 deletions
|
@ -176,10 +176,6 @@ static size_t mi_memid_size(mi_memid_t memid) {
|
||||||
/* -----------------------------------------------------------
|
/* -----------------------------------------------------------
|
||||||
Arena Allocation
|
Arena Allocation
|
||||||
----------------------------------------------------------- */
|
----------------------------------------------------------- */
|
||||||
static long mi_arena_purge_delay(void) {
|
|
||||||
// <0 = no purging allowed, 0=immediate purging, >0=milli-second delay
|
|
||||||
return (mi_option_get(mi_option_purge_delay) * mi_option_get(mi_option_arena_purge_mult));
|
|
||||||
}
|
|
||||||
|
|
||||||
static mi_decl_noinline void* mi_arena_try_alloc_at(
|
static mi_decl_noinline void* mi_arena_try_alloc_at(
|
||||||
mi_arena_t* arena, size_t slice_count, bool commit, size_t tseq, mi_memid_t* memid)
|
mi_arena_t* arena, size_t slice_count, bool commit, size_t tseq, mi_memid_t* memid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue