mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
5f5fddabc7
Summary: Introduce `JemallocNodumpAllocator`, which allow exclusion of block cache usage from core dump. It utilize custom hook of jemalloc arena, and when jemalloc arena request memory from system, the allocator use the hook to set `MADV_DONTDUMP ` to the memory. The implementation is basically the same as `folly::JemallocNodumpAllocator`, except for some minor difference: 1. It only support jemalloc >= 5.0 2. When the allocator destruct, it explicitly destruct the corresponding arena via `arena.<i>.destroy` via `mallctl`. Depending on #4502. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4534 Differential Revision: D10435474 Pulled By: yiwu-arbug fbshipit-source-id: e80edea755d3853182485d2be710376384ce0bb4 |
||
---|---|---|
.. | ||
aligned_buffer.h | ||
allocator.h | ||
arena.cc | ||
arena.h | ||
arena_test.cc | ||
auto_roll_logger.cc | ||
auto_roll_logger.h | ||
auto_roll_logger_test.cc | ||
autovector.h | ||
autovector_test.cc | ||
bloom.cc | ||
bloom_test.cc | ||
build_version.cc.in | ||
build_version.h | ||
cast_util.h | ||
channel.h | ||
coding.cc | ||
coding.h | ||
coding_test.cc | ||
compaction_job_stats_impl.cc | ||
comparator.cc | ||
compression.h | ||
compression_context_cache.cc | ||
compression_context_cache.h | ||
concurrent_arena.cc | ||
concurrent_arena.h | ||
core_local.h | ||
crc32c.cc | ||
crc32c.h | ||
crc32c_ppc.c | ||
crc32c_ppc.h | ||
crc32c_ppc_asm.S | ||
crc32c_ppc_constants.h | ||
crc32c_test.cc | ||
delete_scheduler.cc | ||
delete_scheduler.h | ||
delete_scheduler_test.cc | ||
duplicate_detector.h | ||
dynamic_bloom.cc | ||
dynamic_bloom.h | ||
dynamic_bloom_test.cc | ||
event_logger.cc | ||
event_logger.h | ||
event_logger_test.cc | ||
fault_injection_test_env.cc | ||
fault_injection_test_env.h | ||
file_reader_writer.cc | ||
file_reader_writer.h | ||
file_reader_writer_test.cc | ||
file_util.cc | ||
file_util.h | ||
filelock_test.cc | ||
filename.cc | ||
filename.h | ||
filter_policy.cc | ||
gflags_compat.h | ||
hash.cc | ||
hash.h | ||
hash_map.h | ||
hash_test.cc | ||
heap.h | ||
heap_test.cc | ||
jemalloc_nodump_allocator.cc | ||
jemalloc_nodump_allocator.h | ||
kv_map.h | ||
log_buffer.cc | ||
log_buffer.h | ||
log_write_bench.cc | ||
logging.h | ||
memory_allocator.h | ||
memory_usage.h | ||
mock_time_env.h | ||
murmurhash.cc | ||
murmurhash.h | ||
mutexlock.h | ||
ppc-opcode.h | ||
random.cc | ||
random.h | ||
rate_limiter.cc | ||
rate_limiter.h | ||
rate_limiter_test.cc | ||
repeatable_thread.h | ||
repeatable_thread_test.cc | ||
set_comparator.h | ||
slice.cc | ||
slice_transform_test.cc | ||
sst_file_manager_impl.cc | ||
sst_file_manager_impl.h | ||
status.cc | ||
stderr_logger.h | ||
stop_watch.h | ||
string_util.cc | ||
string_util.h | ||
sync_point.cc | ||
sync_point.h | ||
sync_point_impl.cc | ||
sync_point_impl.h | ||
testharness.cc | ||
testharness.h | ||
testutil.cc | ||
testutil.h | ||
thread_list_test.cc | ||
thread_local.cc | ||
thread_local.h | ||
thread_local_test.cc | ||
thread_operation.h | ||
threadpool_imp.cc | ||
threadpool_imp.h | ||
timer_queue.h | ||
timer_queue_test.cc | ||
trace_replay.cc | ||
trace_replay.h | ||
transaction_test_util.cc | ||
transaction_test_util.h | ||
util.h | ||
vector_iterator.h | ||
xxhash.cc | ||
xxhash.h |