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

Function malloc_conf_init

deps/jemalloc/src/jemalloc.c:1439–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1437}
1438
1439static void
1440malloc_conf_init(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS]) {
1441 const char *opts_cache[MALLOC_CONF_NSOURCES] = {NULL, NULL, NULL, NULL};
1442 char buf[PATH_MAX + 1];
1443
1444 /* The first call only set the confirm_conf option and opts_cache */
1445 malloc_conf_init_helper(NULL, NULL, true, opts_cache, buf);
1446 malloc_conf_init_helper(sc_data, bin_shard_sizes, false, opts_cache,
1447 NULL);
1448}
1449
1450#undef MALLOC_CONF_NSOURCES
1451

Callers 1

Calls 1

malloc_conf_init_helperFunction · 0.85

Tested by

no test coverage detected