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

Function tcache_prefork

deps/jemalloc/src/tcache.c:779–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777}
778
779void
780tcache_prefork(tsdn_t *tsdn) {
781 if (!config_prof && opt_tcache) {
782 malloc_mutex_prefork(tsdn, &tcaches_mtx);
783 }
784}
785
786void
787tcache_postfork_parent(tsdn_t *tsdn) {

Callers 1

jemalloc_preforkFunction · 0.70

Calls 1

malloc_mutex_preforkFunction · 0.70

Tested by

no test coverage detected