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 Improve / refactor anonymous mmap capabilities (#10810) 2022-10-17 17:10:16 -07:00
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 Make MemoryAllocator into a Customizable class (#8980) 2021-12-17 04:20:47 -08:00
memkind_kmem_allocator.h Fix compilation error when building static_lib (#9377) 2022-01-12 09:04:01 -08:00
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 Meta-internal folly integration with F14FastMap (#9546) 2022-04-13 07:34:01 -07:00