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

Function malloc_init

deps/jemalloc/src/jemalloc.c:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221JEMALLOC_ALWAYS_INLINE bool
222malloc_init(void) {
223 if (unlikely(!malloc_initialized()) && malloc_init_hard()) {
224 return true;
225 }
226 return false;
227}
228
229/*
230 * The a0*() functions are used instead of i{d,}alloc() in situations that

Callers 5

imalloc_init_checkFunction · 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