mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
Move arena decay getters to PA.
This commit is contained in:
parent
48a2cd6d79
commit
e77f47a85a
4 changed files with 18 additions and 9 deletions
|
|
@ -595,12 +595,12 @@ arena_maybe_decay(tsdn_t *tsdn, arena_t *arena, decay_t *decay,
|
|||
|
||||
ssize_t
|
||||
arena_dirty_decay_ms_get(arena_t *arena) {
|
||||
return decay_ms_read(&arena->pa_shard.decay_dirty);
|
||||
return pa_shard_dirty_decay_ms_get(&arena->pa_shard);
|
||||
}
|
||||
|
||||
ssize_t
|
||||
arena_muzzy_decay_ms_get(arena_t *arena) {
|
||||
return decay_ms_read(&arena->pa_shard.decay_muzzy);
|
||||
return pa_shard_muzzy_decay_ms_get(&arena->pa_shard);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue