diff options
author | Christopher Ferris <cferris1000@users.noreply.github.com> | 2025-09-25 12:29:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-25 12:29:35 -0700 |
commit | 885cb59315f974b261945686177cfa23833793bd (patch) | |
tree | 5fc42b04f489ed7719227650369f034f5de25d6f /libcxx/include/__algorithm/comp.h | |
parent | 302be34a3f387f26e576734e125d174245a987f1 (diff) | |
download | llvm-885cb59315f974b261945686177cfa23833793bd.zip llvm-885cb59315f974b261945686177cfa23833793bd.tar.gz llvm-885cb59315f974b261945686177cfa23833793bd.tar.bz2 |
[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.
Diffstat (limited to 'libcxx/include/__algorithm/comp.h')
0 files changed, 0 insertions, 0 deletions