mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-16 00:45:38 +03:00
Cache bin: set low-water internally.
This commit is contained in:
parent
60113dfe3b
commit
7f5ebd211c
2 changed files with 11 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ tcache_event_hard(tsd_t *tsd, tcache_t *tcache) {
|
|||
}
|
||||
tcache->bin_refilled[binind] = false;
|
||||
}
|
||||
tbin->low_water_position = tbin->cur_ptr.lowbits;
|
||||
cache_bin_low_water_set(tbin);
|
||||
|
||||
tcache->next_gc_bin++;
|
||||
if (tcache->next_gc_bin == nhbins) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue