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

Function tsd_tcache_enabled_data_init

deps/jemalloc/src/tcache.c:394–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394bool
395tsd_tcache_enabled_data_init(tsd_t *tsd) {
396 /* Called upon tsd initialization. */
397 tsd_tcache_enabled_set(tsd, opt_tcache);
398 tsd_slow_update(tsd);
399
400 if (opt_tcache) {
401 /* Trigger tcache init. */
402 tsd_tcache_data_init(tsd);
403 }
404
405 return false;
406}
407
408/* Initialize auto tcache (embedded in TSD). */
409static void

Callers 1

tsd_data_initFunction · 0.70

Calls 2

tsd_slow_updateFunction · 0.70
tsd_tcache_data_initFunction · 0.70

Tested by

no test coverage detected