mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-11 08:17:16 +03:00
Rename prof_tctx to alloc_tctx in prof_info_t
This commit is contained in:
parent
5e0b090992
commit
aa1d71fb7a
7 changed files with 10 additions and 10 deletions
|
|
@ -204,7 +204,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t usize,
|
|||
void
|
||||
prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_info_t *prof_info) {
|
||||
assert(prof_info != NULL);
|
||||
prof_tctx_t *tctx = prof_info->prof_tctx;
|
||||
prof_tctx_t *tctx = prof_info->alloc_tctx;
|
||||
assert((uintptr_t)tctx > (uintptr_t)1U);
|
||||
|
||||
malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock);
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ prof_log_thr_index(tsd_t *tsd, uint64_t thr_uid, const char *name) {
|
|||
|
||||
void
|
||||
prof_try_log(tsd_t *tsd, size_t usize, prof_info_t *prof_info) {
|
||||
prof_tctx_t *tctx = prof_info->prof_tctx;
|
||||
prof_tctx_t *tctx = prof_info->alloc_tctx;
|
||||
malloc_mutex_assert_owner(tsd_tsdn(tsd), tctx->tdata->lock);
|
||||
|
||||
prof_tdata_t *cons_tdata = prof_tdata_get(tsd, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue