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

Function arena_slab_dalloc

deps/jemalloc/src/arena.c:1004–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004static void
1005arena_slab_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *slab) {
1006 arena_nactive_sub(arena, extent_size_get(slab) >> LG_PAGE);
1007
1008 extent_hooks_t *extent_hooks = EXTENT_HOOKS_INITIALIZER;
1009 arena_extents_dirty_dalloc(tsdn, arena, &extent_hooks, slab);
1010}
1011
1012static void
1013arena_bin_slabs_nonfull_insert(bin_t *bin, extent_t *slab) {

Callers 2

arena_bin_resetFunction · 0.70
arena_dalloc_bin_slabFunction · 0.70

Calls 3

arena_nactive_subFunction · 0.70
extent_size_getFunction · 0.50

Tested by

no test coverage detected