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

Function arena_nactive_sub

deps/jemalloc/src/arena.c:377–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377static void
378arena_nactive_sub(arena_t *arena, size_t sub_pages) {
379 assert(atomic_load_zu(&arena->nactive, ATOMIC_RELAXED) >= sub_pages);
380 atomic_fetch_sub_zu(&arena->nactive, sub_pages, ATOMIC_RELAXED);
381}
382
383static void
384arena_large_malloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t usize) {

Callers 3

arena_slab_dallocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected