rocksdb/cache
Peter Dillinger cdb11f5ce6 More minor HCC refactoring + typed mmap (#11670)
Summary:
More code leading up to dynamic HCC.
* Small enhancements to cache_bench
* Extra assertion in Unref
* Improve a CAS loop in ChargeUsageMaybeEvictStrict
* Put load factor constants in appropriate class
* Move `standalone` field to HyperClockTable::HandleImpl because it can be encoded differently in the upcoming dynamic HCC.
* Add a typed version of MemMapping to simplify some future code.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11670

Test Plan: existing tests, unit test added for TypedMemMapping

Reviewed By: jowlyzhang

Differential Revision: D48056464

Pulled By: pdillinger

fbshipit-source-id: 186b7d3105c5d6d2eb6a592369bc10a97ee14a15
2023-08-07 12:20:23 -07:00
..
cache.cc
cache_bench.cc
cache_bench_tool.cc More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
cache_entry_roles.cc
cache_entry_roles.h
cache_entry_stats.h
cache_helpers.cc
cache_helpers.h
cache_key.cc
cache_key.h
cache_reservation_manager.cc
cache_reservation_manager.h
cache_reservation_manager_test.cc
cache_test.cc
charged_cache.cc
charged_cache.h
clock_cache.cc More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
clock_cache.h More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
compressed_secondary_cache.cc
compressed_secondary_cache.h
compressed_secondary_cache_test.cc
lru_cache.cc Prepare for specialized interface for row cache (#11620) 2023-07-18 19:12:58 -07:00
lru_cache.h
lru_cache_test.cc More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
secondary_cache.cc
secondary_cache_adapter.cc Update secondary_cache_adapter.cc (#11566) 2023-06-27 10:42:42 -07:00
secondary_cache_adapter.h
sharded_cache.cc Add some more bit operations to internal APIs (#11660) 2023-08-02 11:30:10 -07:00
sharded_cache.h
typed_cache.h