mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-27 05:12:12 +03:00
Record request size in prof recent entries
This commit is contained in:
parent
40a391408c
commit
2b604a3016
8 changed files with 24 additions and 23 deletions
|
|
@ -116,8 +116,8 @@ static void confirm_malloc(tsd_t *tsd, void *p) {
|
|||
|
||||
static void confirm_record_size(tsd_t *tsd, prof_recent_t *n, unsigned kth) {
|
||||
malloc_mutex_assert_owner(tsd_tsdn(tsd), &prof_recent_alloc_mtx);
|
||||
assert_zu_eq(n->usize, sz_s2u(NTH_REQ_SIZE(kth)),
|
||||
"Recorded allocation usize is wrong");
|
||||
assert_zu_eq(n->size, NTH_REQ_SIZE(kth),
|
||||
"Recorded allocation size is wrong");
|
||||
}
|
||||
|
||||
static void confirm_record_living(tsd_t *tsd, prof_recent_t *n) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue