mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-10 17:50:59 +03:00
Add experimental prefix to hpa_strict_min_purge_interval
Goal is to make it obvious this option is experimental.
This commit is contained in:
parent
aaa29003ab
commit
c7ccb8d7e9
8 changed files with 21 additions and 19 deletions
|
|
@ -512,7 +512,7 @@ hpa_try_hugify(tsdn_t *tsdn, hpa_shard_t *shard) {
|
|||
static bool
|
||||
hpa_min_purge_interval_passed(tsdn_t *tsdn, hpa_shard_t *shard) {
|
||||
malloc_mutex_assert_owner(tsdn, &shard->mtx);
|
||||
if (shard->opts.strict_min_purge_interval) {
|
||||
if (shard->opts.experimental_strict_min_purge_interval) {
|
||||
uint64_t since_last_purge_ms = shard->central->hooks.ms_since(
|
||||
&shard->last_purge);
|
||||
if (since_last_purge_ms < shard->opts.min_purge_interval_ms) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue