mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-28 22:05:40 +08:00
increase decommit hysterisis
This commit is contained in:
parent
cdfbd6d08f
commit
fa66db840d
@ -483,7 +483,7 @@ static void mi_segment_perhaps_decommit(mi_segment_t* segment, uint8_t* p, size_
|
||||
else if (segment->decommit_expire <= now) {
|
||||
// previous decommit mask already expired
|
||||
// mi_segment_delayed_decommit(segment, true, stats);
|
||||
segment->decommit_expire = now + 1; // wait a tiny bit longer in case there is a series of free's
|
||||
segment->decommit_expire = now + 5; // wait a tiny bit longer in case there is a series of free's
|
||||
}
|
||||
else {
|
||||
// previous decommit mask is not yet expired
|
||||
|
Loading…
x
Reference in New Issue
Block a user