MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / malloc_init

Function malloc_init

deps/memkind/src/jemalloc/src/jemalloc.c:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214JEMALLOC_ALWAYS_INLINE bool
215malloc_init(void) {
216 if (unlikely(!malloc_initialized()) && malloc_init_hard()) {
217 return true;
218 }
219 return false;
220}
221
222/*
223 * The a0*() functions are used instead of i{d,}alloc() in situations that

Callers 5

imallocFunction · 0.70
je_mallctlFunction · 0.70
je_mallctlnametomibFunction · 0.70
je_mallctlbymibFunction · 0.70
jemalloc_constructorFunction · 0.70

Calls 2

malloc_initializedFunction · 0.70
malloc_init_hardFunction · 0.70

Tested by

no test coverage detected