Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ arena_set
Function
arena_set
deps/jemalloc/src/jemalloc.c:296–299 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
294
}
295
296
void
297
arena_set(unsigned ind, arena_t *arena) {
298
atomic_store_p(&arenas[ind], arena, ATOMIC_RELEASE);
299
}
300
301
static void
302
narenas_total_set(unsigned narenas) {
Callers
2
arena_destroy
Function · 0.70
arena_new
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected