Skip to content

Commit

Permalink
Uses IntSet for `RemoveUnrootedSlotsSynchronization::slots_under_co…
Browse files Browse the repository at this point in the history
…ntention` (solana-labs#33530)
  • Loading branch information
brooksprumo authored Oct 4, 2023
1 parent 3b93041 commit c66af12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit c66af12

Please sign in to comment.