MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zone_batch_free

Function zone_batch_free

app/redis-6.2.6/deps/jemalloc/src/zone.c:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227static void
228zone_batch_free(struct _malloc_zone_t *zone, void **to_be_freed,
229 unsigned num_to_be_freed) {
230 unsigned i;
231
232 for (i = 0; i < num_to_be_freed; i++) {
233 zone_free(zone, to_be_freed[i]);
234 to_be_freed[i] = NULL;
235 }
236}
237
238static size_t
239zone_pressure_relief(struct _malloc_zone_t *zone, size_t goal) {

Callers

nothing calls this directly

Calls 1

zone_freeFunction · 0.85

Tested by

no test coverage detected