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

Function arena_alloc_junk_small

deps/jemalloc/src/arena.c:1445–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1443}
1444
1445void
1446arena_alloc_junk_small(void *ptr, const bin_info_t *bin_info, bool zero) {
1447 if (!zero) {
1448 memset(ptr, JEMALLOC_ALLOC_JUNK, bin_info->reg_size);
1449 }
1450}
1451
1452static void
1453arena_dalloc_junk_small_impl(void *ptr, const bin_info_t *bin_info) {

Callers 3

arena_tcache_fill_smallFunction · 0.70
arena_malloc_smallFunction · 0.70
tcache_alloc_smallFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected