llvm-project
885cb593 - [scudo] Release to OS if a large amount of memory is deallocated. (#160621)

Commit
84 days ago
[scudo] Release to OS if a large amount of memory is deallocated. (#160621) Before this change, if large amounts of memory are deallocated within a release interval, the release is put off until the release interval occurs. Unfortunately, for larger class sizes, this could mean that a lot of this memory accumulates and is never released since no more deallocations occur in that size class. To fix this, if `RegionPushedBytesDelta` grows larger than a group size, immediately do a release. This work was originally done by ChiaHungDuan.
Author
Parents
Loading