Closed sbraveyoung closed 5 years ago
If a bug occurs in other place, that cause the length of evictList is bigger than c.size+1, after this code c.evict(1), the cache is still full。
c.evict(1)
If a bug occurs in other place,
I think that we should fix such a bug instead of this workaround.
If a bug occurs in other place, that cause the length of evictList is bigger than c.size+1, after this code
c.evict(1)
, the cache is still full。