[compiler-rt] [scudo] Update secondary cache time-based release logic. (PR #107507)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 14:54:48 PDT 2024
================
@@ -636,6 +642,9 @@ class MapAllocatorCache {
u16 LRUTail GUARDED_BY(Mutex) = 0;
// The AvailableHead is the top of the stack of available entries
u16 AvailableHead GUARDED_BY(Mutex) = 0;
+ // The LastUnreleasedEntry is the least recently used entry that has not
+ // been released
+ u16 LastUnreleasedEntry GUARDED_BY(Mutex) = 0;
----------------
ChiaHungDuan wrote:
I don't see the initialization of `LastUnreleasedEntry`. Do I miss it?
https://github.com/llvm/llvm-project/pull/107507
More information about the llvm-commits
mailing list