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

Function je_sdallocx

deps/jemalloc/src/jemalloc.c:3593–3603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3591}
3592
3593JEMALLOC_EXPORT void JEMALLOC_NOTHROW
3594je_sdallocx(void *ptr, size_t size, int flags) {
3595 LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr,
3596 size, flags);
3597
3598 if (flags !=0 || !free_fastpath(ptr, size, true)) {
3599 sdallocx_default(ptr, size, flags);
3600 }
3601
3602 LOG("core.sdallocx.exit", "");
3603}
3604
3605void JEMALLOC_NOTHROW
3606je_sdallocx_noflags(void *ptr, size_t size) {

Callers

nothing calls this directly

Calls 2

free_fastpathFunction · 0.85
sdallocx_defaultFunction · 0.85

Tested by

no test coverage detected