We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91b299 commit 193102bCopy full SHA for 193102b
compiler-rt/lib/scudo/standalone/primary64.h
@@ -1492,6 +1492,11 @@ template <typename Config> class SizeClassAllocator64 {
1492
}
1493
1494
const uptr PushedBytesDelta = BytesInBG - BG->BytesInBGAtLastCheckpoint;
1495
+ if (PushedBytesDelta < getMinReleaseAttemptSize(BlockSize)) {
1496
+ Prev = BG;
1497
+ BG = BG->Next;
1498
+ continue;
1499
+ }
1500
1501
// Given the randomness property, we try to release the pages only if the
1502
// bytes used by free blocks exceed certain proportion of group size. Note
0 commit comments