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

Function prof_prefork1

deps/jemalloc/src/prof.c:3104–3113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3102}
3103
3104void
3105prof_prefork1(tsdn_t *tsdn) {
3106 if (config_prof && opt_prof) {
3107 malloc_mutex_prefork(tsdn, &prof_active_mtx);
3108 malloc_mutex_prefork(tsdn, &prof_dump_seq_mtx);
3109 malloc_mutex_prefork(tsdn, &prof_gdump_mtx);
3110 malloc_mutex_prefork(tsdn, &next_thr_uid_mtx);
3111 malloc_mutex_prefork(tsdn, &prof_thread_active_init_mtx);
3112 }
3113}
3114
3115void
3116prof_postfork_parent(tsdn_t *tsdn) {

Callers 1

jemalloc_preforkFunction · 0.70

Calls 1

malloc_mutex_preforkFunction · 0.70

Tested by

no test coverage detected