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

Function prof_tdata_should_destroy

deps/jemalloc/src/prof.c:2263–2269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2261}
2262
2263static bool
2264prof_tdata_should_destroy(tsdn_t *tsdn, prof_tdata_t *tdata,
2265 bool even_if_attached) {
2266 malloc_mutex_assert_owner(tsdn, tdata->lock);
2267
2268 return prof_tdata_should_destroy_unlocked(tdata, even_if_attached);
2269}
2270
2271static void
2272prof_tdata_destroy_locked(tsd_t *tsd, prof_tdata_t *tdata,

Callers 3

prof_tctx_destroyFunction · 0.70
prof_tdata_detachFunction · 0.70
prof_tdata_expireFunction · 0.70

Tested by

no test coverage detected