[compiler-rt] 037938d - Revert "[scudo] Apply the min release threshold to the group" (#112252)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 12:53:10 PDT 2024
Author: ChiaHungDuan
Date: 2024-10-14T12:53:07-07:00
New Revision: 037938d637b830332e50232d7b90b5faad039c11
URL: https://github.com/llvm/llvm-project/commit/037938d637b830332e50232d7b90b5faad039c11
DIFF: https://github.com/llvm/llvm-project/commit/037938d637b830332e50232d7b90b5faad039c11.diff
LOG: Revert "[scudo] Apply the min release threshold to the group" (#112252)
Reverts llvm/llvm-project#112014
The change didn't update the iterator
Added:
Modified:
compiler-rt/lib/scudo/standalone/primary64.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/primary64.h b/compiler-rt/lib/scudo/standalone/primary64.h
index 1865ed41368e3c..97188a5ac235cc 100644
--- a/compiler-rt/lib/scudo/standalone/primary64.h
+++ b/compiler-rt/lib/scudo/standalone/primary64.h
@@ -1492,8 +1492,6 @@ template <typename Config> class SizeClassAllocator64 {
}
const uptr PushedBytesDelta = BytesInBG - BG->BytesInBGAtLastCheckpoint;
- if (PushedBytesDelta < getMinReleaseAttemptSize(BlockSize))
- continue;
// Given the randomness property, we try to release the pages only if the
// bytes used by free blocks exceed certain proportion of group size. Note
More information about the llvm-commits
mailing list