folly::usingJEMalloc

Determines whether the process is using jemalloc.

Synopsis

Declared in <folly/memory/Malloc.h>

bool
usingJEMalloc() noexcept;

Return Value

true if jemalloc is the active allocator.