|
84 | 84 | smallvec::SmallVec,
|
85 | 85 | solana_lattice_hash::lt_hash::LtHash,
|
86 | 86 | solana_measure::{meas_dur, measure::Measure, measure_us},
|
87 |
| - solana_nohash_hasher::{IntMap, IntSet}, |
| 87 | + solana_nohash_hasher::{BuildNoHashHasher, IntMap, IntSet}, |
88 | 88 | solana_rayon_threadlimit::get_thread_count,
|
89 | 89 | solana_sdk::{
|
90 | 90 | account::{Account, AccountSharedData, ReadableAccount},
|
@@ -1552,7 +1552,7 @@ pub struct AccountsDb {
|
1552 | 1552 | /// Set of unique keys per slot which is used
|
1553 | 1553 | /// to drive clean_accounts
|
1554 | 1554 | /// Generated by calculate_accounts_delta_hash
|
1555 |
| - uncleaned_pubkeys: DashMap<Slot, Vec<Pubkey>>, |
| 1555 | + uncleaned_pubkeys: DashMap<Slot, Vec<Pubkey>, BuildNoHashHasher<Slot>>, |
1556 | 1556 |
|
1557 | 1557 | #[cfg(test)]
|
1558 | 1558 | load_delay: u64,
|
@@ -2058,7 +2058,7 @@ impl AccountsDb {
|
2058 | 2058 | storage: AccountStorage::default(),
|
2059 | 2059 | accounts_cache: AccountsCache::default(),
|
2060 | 2060 | sender_bg_hasher: None,
|
2061 |
| - uncleaned_pubkeys: DashMap::new(), |
| 2061 | + uncleaned_pubkeys: DashMap::default(), |
2062 | 2062 | next_id: AtomicAccountsFileId::new(0),
|
2063 | 2063 | shrink_candidate_slots: Mutex::new(ShrinkCandidates::default()),
|
2064 | 2064 | write_version: AtomicU64::new(0),
|
|
0 commit comments