TCMalloc

TCMalloc 是 Google 对 C 的 malloc() 和 C++ 的 operator new 的定制实现,用于在我们的 C 和 C++ 代码中进行内存分配。TCMalloc 是一种快速的多线程 malloc 实现。「TCMalloc is Google's customized implementation of C's malloc() and C++'s operator new used for memory allocation within our C and C++ code. TCMalloc is a fast, multi-threaded malloc implementation.」

  • 所有者: google/tcmalloc
  • 平台: Linux
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

TCMalloc

This repository contains the TCMalloc C++ code.

TCMalloc is Google's customized implementation of C's malloc() and C++'s
operator new used for memory allocation within our C and C++ code. TCMalloc is
a fast, multi-threaded malloc implementation.

Building TCMalloc

Bazel is the official build system for TCMalloc.

The TCMalloc Platforms Guide contains information on
platform support for TCMalloc.

Documentation

All users of TCMalloc should consult the following documentation resources:

  • The TCMalloc Quickstart covers downloading, installing,
    building, and testing TCMalloc, including incorporating within your codebase.
  • The TCMalloc Overview covers the basic architecture of
    TCMalloc, and how that may affect configuration choices.
  • The TCMalloc Reference covers the C and C++ TCMalloc API
    endpoints.

More advanced usages of TCMalloc may find the following documentation useful:

  • The TCMalloc Tuning Guide covers the configuration choices
    in more depth, and also illustrates other ways to customize TCMalloc.
  • The TCMalloc Design Doc covers how TCMalloc works
    underneath the hood, and why certain design choices were made. Most developers
    will not need this level of implementation detail.

License

The TCMalloc library is licensed under the terms of the Apache
license. See LICENSE for more information.

Disclaimer: This is not an officially supported Google product.

主要指標

概覽
名稱與所有者google/tcmalloc
主編程語言C++
編程語言Starlark (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2019-08-23 14:02:59
推送於2025-06-20 02:48:42
最后一次提交2025-06-19 19:47:23
發布數0
用户参与
星數4.8k
關注者數85
派生數515
提交數2.6k
已啟用問題?
問題數209
打開的問題數45
拉請求數30
打開的拉請求數13
關閉的拉請求數26
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?