mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-15 13:17:17 +03:00
Add various mutex ownership assertions.
This commit is contained in:
parent
73868b60f2
commit
0222fb41d1
3 changed files with 14 additions and 6 deletions
|
|
@ -521,6 +521,8 @@ JEMALLOC_ALWAYS_INLINE void
|
|||
arena_decay_tick(tsdn_t *tsdn, arena_t *arena)
|
||||
{
|
||||
|
||||
malloc_mutex_assert_not_owner(tsdn, &arena->lock);
|
||||
|
||||
arena_decay_ticks(tsdn, arena, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue