mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-23 21:36:22 +03:00
Correct usize in prof last-N record
This commit is contained in:
parent
202f01d4f8
commit
b549389e4a
4 changed files with 6 additions and 5 deletions
|
|
@ -129,7 +129,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
|
|||
malloc_mutex_unlock(tsd_tsdn(tsd), tctx->tdata->lock);
|
||||
if (record_recent) {
|
||||
assert(tctx == edata_prof_tctx_get(edata));
|
||||
prof_recent_alloc(tsd, edata, size);
|
||||
prof_recent_alloc(tsd, edata, size, usize);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue