aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/comp.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris1000@users.noreply.github.com>2025-09-25 12:29:35 -0700
committerGitHub <noreply@github.com>2025-09-25 12:29:35 -0700
commit885cb59315f974b261945686177cfa23833793bd (patch)
tree5fc42b04f489ed7719227650369f034f5de25d6f /libcxx/include/__algorithm/comp.h
parent302be34a3f387f26e576734e125d174245a987f1 (diff)
downloadllvm-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