Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/comdb2
/ dl_malloc
Function
dl_malloc
db/memdebug.c:86–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
};
85
86
void* dl_malloc(size_t sz) {
87
void *out;
88
LOCK(&lk) {
89
out = dlmalloc(sz);
90
} UNLOCK(&lk);
91
return out;
92
}
93
94
void* dl_calloc(size_t nelem, size_t elemsz) {
95
void *out;
Callers
6
init_symtab
Function · 0.85
get_call
Function · 0.85
get_thread_info
Function · 0.85
malloc
Function · 0.85
calloc
Function · 0.85
strdup
Function · 0.85
Calls
1
dlmalloc
Function · 0.85
Tested by
no test coverage detected