Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ HasJemalloc
Function
HasJemalloc
src/brpc/details/jemalloc_profiler.cpp:65–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
}
64
65
bool HasJemalloc() {
66
return mallctl != nullptr;
67
}
68
69
// env need MALLOC_CONF=
"prof:true"
before process start
70
static bool HasEnableJemallocProfile() {
Callers
8
JeProfileActive
Function · 0.85
JeProfileDump
Function · 0.85
JeProfileReset
Function · 0.85
validate_je_prof_active
Function · 0.85
validate_je_prof_dump
Function · 0.85
validate_je_prof_reset
Function · 0.85
heap
Method · 0.85
default_method
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected