mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-21 10:22:30 +03:00
Simplify the logic when bumping lg_fill_div.
This commit is contained in:
parent
8fefabd3a4
commit
a25b9b8ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ tcache_gc_small(tsd_t *tsd, tcache_slow_t *tcache_slow, tcache_t *tcache,
|
|||
* the fill count is always at least 1.
|
||||
*/
|
||||
if ((cache_bin_ncached_max_get(cache_bin) >>
|
||||
(tcache_slow->lg_fill_div[szind] + 1)) >= 1) {
|
||||
tcache_slow->lg_fill_div[szind]) > 1) {
|
||||
tcache_slow->lg_fill_div[szind]++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue