rocksdb/memory
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
..
allocator.h Run clang format against files under example/, memory/ and memtable/ folders (#10893) 2022-10-28 13:16:50 -07:00
arena.cc Fix use of make_unique in Arena::AllocateNewBlock (#11012) 2022-12-01 13:18:40 -08:00
arena.h
arena_test.cc More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
concurrent_arena.cc Run clang format against files under example/, memory/ and memtable/ folders (#10893) 2022-10-28 13:16:50 -07:00
concurrent_arena.h Run clang format against files under example/, memory/ and memtable/ folders (#10893) 2022-10-28 13:16:50 -07:00
jemalloc_nodump_allocator.cc Shard JemallocNodumpAllocator (#11400) 2023-05-01 10:14:43 -07:00
jemalloc_nodump_allocator.h Shard JemallocNodumpAllocator (#11400) 2023-05-01 10:14:43 -07:00
memkind_kmem_allocator.cc
memkind_kmem_allocator.h
memory_allocator.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
memory_allocator_impl.h Change internal headers with duplicate names (#11408) 2023-05-17 11:27:09 -07:00
memory_allocator_test.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
memory_usage.h