Skip to content

Commit 037938d

Browse files
authored
Revert "[scudo] Apply the min release threshold to the group" (llvm#112252)
Reverts llvm#112014 The change didn't update the iterator
1 parent 08bfc9b commit 037938d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler-rt/lib/scudo/standalone/primary64.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,6 @@ template <typename Config> class SizeClassAllocator64 {
14921492
}
14931493

14941494
const uptr PushedBytesDelta = BytesInBG - BG->BytesInBGAtLastCheckpoint;
1495-
if (PushedBytesDelta < getMinReleaseAttemptSize(BlockSize))
1496-
continue;
14971495

14981496
// Given the randomness property, we try to release the pages only if the
14991497
// bytes used by free blocks exceed certain proportion of group size. Note

0 commit comments

Comments
 (0)