jemalloc is a general purpose C memory allocator designed as a replacement for the standard library malloc and free functions. It is a multi-threaded allocation library that emphasizes fragmentation avoidance and scalable concurrency for high-performance applications. The project reduces lock contention by using multiple independent memory arenas and thread-local cache layers. It minimizes latency by offloading the reclamation of unused memory pages to asynchronous background threads and utilizes huge page metadata storage to reduce translation lookaside buffer misses. The system includes a
Mimalloc is a general purpose dynamic memory allocator for C and C++ designed to increase execution speed and reduce fragmentation. It functions as a scalable heap manager that replaces standard library allocation functions to improve performance and memory efficiency across applications. The project distinguishes itself as both a heap security hardener and a memory corruption detector. It employs randomized allocation, encrypted free lists, and sampled guard pages to mitigate heap exploits and identify buffer overflows or use-after-free errors during runtime. The allocator provides capabili
The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.
Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C
Tcmalloc 是一个高性能 C++ 内存分配器和运行时库,专为管理大规模服务的堆内存而设计。它作为一个线程缓存内存分配器,减少了多线程应用中的锁竞争,从而在并发工作负载下保持稳定性和性能。
google/tcmalloc 的主要功能包括:Allocator Local Caches, 内存分配器, Tiered Memory Caches, High-Concurrency Memory Scaling, Size-Class Allocators, Lock-Free Atomic Containers, C++ Memory Management, Physical Page Allocators。
google/tcmalloc 的开源替代品包括: microsoft/mimalloc — Mimalloc is a general purpose dynamic memory allocator for C and C++ designed to increase execution speed and reduce… jemalloc/jemalloc — jemalloc is a general purpose C memory allocator designed as a replacement for the standard library malloc and free… emeryberger/hoard — The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac. rampantpixels/rpmalloc — Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C. ivmai/bdwgc — The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc). foonathan/memory — STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but…