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

Function prof_prefork1

app/redis-6.2.6/deps/jemalloc/src/prof.c:2417–2426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2415}
2416
2417void
2418prof_prefork1(tsdn_t *tsdn) {
2419 if (config_prof && opt_prof) {
2420 malloc_mutex_prefork(tsdn, &prof_active_mtx);
2421 malloc_mutex_prefork(tsdn, &prof_dump_seq_mtx);
2422 malloc_mutex_prefork(tsdn, &prof_gdump_mtx);
2423 malloc_mutex_prefork(tsdn, &next_thr_uid_mtx);
2424 malloc_mutex_prefork(tsdn, &prof_thread_active_init_mtx);
2425 }
2426}
2427
2428void
2429prof_postfork_parent(tsdn_t *tsdn) {

Callers 1

jemalloc_preforkFunction · 0.85

Calls 1

malloc_mutex_preforkFunction · 0.85

Tested by

no test coverage detected