Home
last modified time | relevance | path

Searched refs:gctx_locks (Results 1 – 1 of 1) sorted by relevance

/external/jemalloc_new/src/
Dprof.c80 static malloc_mutex_t *gctx_locks; variable
544 return &gctx_locks[(ngctxs - 1) % PROF_NCTX_LOCKS]; in prof_gctx_mutex_choose()
2358 gctx_locks = (malloc_mutex_t *)base_alloc(tsd_tsdn(tsd), in prof_boot2()
2361 if (gctx_locks == NULL) { in prof_boot2()
2365 if (malloc_mutex_init(&gctx_locks[i], "prof_gctx", in prof_boot2()
2412 malloc_mutex_prefork(tsdn, &gctx_locks[i]); in prof_prefork0()
2440 malloc_mutex_postfork_parent(tsdn, &gctx_locks[i]); in prof_postfork_parent()
2462 malloc_mutex_postfork_child(tsdn, &gctx_locks[i]); in prof_postfork_child()