================ @@ -513,9 +515,10 @@ class MapAllocatorCache { Quarantine[I].invalidate(); } } + QuarantinePos = -1U; ---------------- ChiaHungDuan wrote: I think I got it. It logically makes more sense because we just flush all the quarantine entries. https://github.com/llvm/llvm-project/pull/150156