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

Function prof_gctx_should_destroy

deps/jemalloc/src/prof.c:897–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897static bool
898prof_gctx_should_destroy(prof_gctx_t *gctx) {
899 if (opt_prof_accum) {
900 return false;
901 }
902 if (!tctx_tree_empty(&gctx->tctxs)) {
903 return false;
904 }
905 if (gctx->nlimbo != 0) {
906 return false;
907 }
908 return true;
909}
910
911static void
912prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) {

Callers 2

prof_tctx_destroyFunction · 0.70
prof_gctx_finishFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected