[compiler-rt] [scudo] Fix release to OS logic in secondary cache. (PR #103303)

Joshua Baehring via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 16:10:54 PDT 2024


================
@@ -321,8 +321,6 @@ class MapAllocatorCache {
         }
         CachedBlock PrevEntry = Quarantine[QuarantinePos];
         Quarantine[QuarantinePos] = Entry;
-        if (OldestTime == 0)
----------------
JoshuaMBa wrote:

It could technically be used as a heuristic for when to release in the quarantine, but I think there was also a bug report about how this value is not always accurate. I'll add a comment about the removal in the commit message.

https://github.com/llvm/llvm-project/pull/103303


More information about the llvm-commits mailing list