Uses `IntSet` for `RemoveUnrootedSlotsSynchronization::slots_under_contention` (#33530)

This commit is contained in:
Brooks 2023-10-04 16:34:18 -04:00 committed by GitHub
parent 3b93041401
commit c66af12bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@ impl RecycleStores {
#[derive(Debug, Default)]
struct RemoveUnrootedSlotsSynchronization {
// slots being flushed from the cache or being purged
slots_under_contention: Mutex<HashSet<Slot>>,
slots_under_contention: Mutex<IntSet<Slot>>,
signal: Condvar,
}