awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/tcmalloc

0
View on GitHub↗
5,255 Stars·553 Forks·C++·Apache-2.0·5 Aufrufe

Tcmalloc

Tcmalloc ist ein High-Performance-C++-Speicherallokator und eine Laufzeitbibliothek zur Verwaltung von Heap-Speicher für großskalige Dienste. Es fungiert als Thread-Caching-Speicherallokator, der Lock-Contention in Multithreaded-Anwendungen reduziert, um Stabilität und Performance bei gleichzeitigen Workloads zu wahren.

Das Projekt konzentriert sich auf hochperformante Speicherallokation und die Skalierung von Multithreaded-Anwendungen. Es verwendet eine Strategie mit Per-Thread-Caches, um schnellen Speicherzugriff zu gewährleisten und den Durchsatz paralleler Programme in Low-Level-Systemumgebungen zu verbessern.

Die Bibliothek verwaltet Speicher durch Page-Level-Allokation, Size-Classed-Binning und Span-basiertes Metadaten-Management, um Fragmentierung zu minimieren. Sie nutzt eine zentrale Free-List und Lock-free-Fast-Paths, um Speicheranfragen über mehrere Ausführungsthreads hinweg zu verarbeiten.

Features

  • Allocator Local Caches - Provides per-thread caches for small memory allocations to eliminate lock contention between concurrent threads.
  • Speicher-Allokatoren - Provides a high-performance memory allocator designed for concurrent workloads in low-level C++ environments.
  • Tiered Memory Caches - Employs a tiered caching strategy with thread-local, central, and global page heaps to reduce allocation overhead.
  • High-Concurrency Memory Scaling - Optimizes memory paths to prevent bottlenecks and reduce lock contention in multi-threaded, high-scale applications.
  • Size-Class Allocators - Groups memory allocations into predefined size classes to reduce internal fragmentation and accelerate retrieval.
  • Lock-Free Atomic Containers - Utilizes atomic operations on thread-specific data to create lock-free fast paths for allocation and deallocation.
  • C++ Memory Management - Optimizes memory request and release cycles in C++ to prevent fragmentation and increase execution speed.
  • Physical Page Allocators - Manages memory in fixed-size page units to minimize fragmentation and simplify large block tracking.
  • Free-List Allocators - Implements a central free list to reuse released memory spans when thread-local caches are exhausted.
  • Metadata Spans - Uses span-based metadata to track the status and ownership of contiguous memory pages across the heap.
  • High-Performance Systems Programming - Implements resource-efficient memory handling for high-performance software requiring manual memory management.
  • C++ Runtimes - Serves as a low-level runtime component managing heap allocation and fragmentation for large-scale services.
  • Application Scaling Strategies - Improves parallel program throughput by utilizing thread-local caches for faster memory access.
  • Memory Management - Fast multi-threaded malloc implementation.
  • Memory Allocation - Fast, multi-threaded malloc implementation.
  • Memory Management Libraries - Thread-caching malloc for high-concurrency applications.

Star-Verlauf

Star-Verlauf für google/tcmallocStar-Verlauf für google/tcmalloc

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Tcmalloc

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Tcmalloc.
  • jemalloc/jemallocAvatar von jemalloc

    jemalloc/jemalloc

    10,950Auf GitHub ansehen↗

    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

    C
    Auf GitHub ansehen↗10,950
  • microsoft/mimallocAvatar von microsoft

    microsoft/mimalloc

    13,090Auf GitHub ansehen↗

    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

    C
    Auf GitHub ansehen↗13,090
  • emeryberger/hoardAvatar von emeryberger

    emeryberger/Hoard

    1,233Auf GitHub ansehen↗

    The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.

    C++
    Auf GitHub ansehen↗1,233
  • rampantpixels/rpmallocAvatar von rampantpixels

    rampantpixels/rpmalloc

    2,453Auf GitHub ansehen↗

    Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C

    Python
    Auf GitHub ansehen↗2,453
Alle 30 Alternativen zu Tcmalloc anzeigen→

Häufig gestellte Fragen

Was macht google/tcmalloc?

Tcmalloc ist ein High-Performance-C++-Speicherallokator und eine Laufzeitbibliothek zur Verwaltung von Heap-Speicher für großskalige Dienste. Es fungiert als Thread-Caching-Speicherallokator, der Lock-Contention in Multithreaded-Anwendungen reduziert, um Stabilität und Performance bei gleichzeitigen Workloads zu wahren.

Was sind die Hauptfunktionen von google/tcmalloc?

Die Hauptfunktionen von google/tcmalloc sind: Allocator Local Caches, Speicher-Allokatoren, Tiered Memory Caches, High-Concurrency Memory Scaling, Size-Class Allocators, Lock-Free Atomic Containers, C++ Memory Management, Physical Page Allocators.

Welche Open-Source-Alternativen gibt es zu google/tcmalloc?

Open-Source-Alternativen zu google/tcmalloc sind unter anderem: 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…