Skip to content

Commit 7ea7b2f

Browse files
committed
Fix flag in WTinyLFU
1 parent 2868881 commit 7ea7b2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libCacheSim/cache/eviction/WTinyLFU.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ static void WTinyLFU_evict(cache_t *cache, const request_t *req) {
305305
#endif
306306

307307
main_cache->evict(main_cache, req);
308+
evicted = true;
308309

309310
bool ret = window->remove(window, window_victim->obj_id);
310311
DEBUG_ASSERT(ret);

0 commit comments

Comments
 (0)