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

Function large_ralloc_move_helper

deps/jemalloc/src/large.c:264–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static void *
265large_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize,
266 size_t alignment, bool zero) {
267 if (alignment <= CACHELINE) {
268 return large_malloc(tsdn, arena, usize, zero);
269 }
270 return large_palloc(tsdn, arena, usize, alignment, zero);
271}
272
273void *
274large_ralloc(tsdn_t *tsdn, arena_t *arena, void *ptr, size_t usize,

Callers 1

large_rallocFunction · 0.70

Calls 2

large_mallocFunction · 0.70
large_pallocFunction · 0.70

Tested by

no test coverage detected