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

Function je_free

deps/jemalloc/src/jemalloc.c:2862–2871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2860}
2861
2862JEMALLOC_EXPORT void JEMALLOC_NOTHROW
2863je_free(void *ptr) {
2864 LOG("core.free.entry", "ptr: %p", ptr);
2865
2866 if (!free_fastpath(ptr, 0, false)) {
2867 free_default(ptr);
2868 }
2869
2870 LOG("core.free.exit", "");
2871}
2872
2873/*
2874 * End malloc(3)-compatible functions.

Callers 5

zone_freeFunction · 0.70
zone_free_definite_sizeFunction · 0.70
operator deleteFunction · 0.70
operator delete[]Function · 0.70
test_threadsFunction · 0.50

Calls 2

free_fastpathFunction · 0.85
free_defaultFunction · 0.85

Tested by 1

test_threadsFunction · 0.40