百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

tcmalloc

> 编程语言
开源

TCMalloc 此仓库包含 TCMalloc 的 C++ 代码。TCMalloc 是 Google 定制的 C 的 malloc() 和 C++ 的 operator new 的实现。

5.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

TCMalloc 此仓库包含 TCMalloc 的 C++ 代码。TCMalloc 是 Google 定制的 C 的 malloc() 和 C++ 的 operator new 的实现。

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. Experimental support for CMake is available as well.

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. This also covers important operating system-level properties for improving TCMalloc performance.
  • 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.
  • The TCMalloc Compatibility Guide which documents our expectations for how our APIs are used.

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.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •The TCMalloc Quickstart covers downloading,
  • •The TCMalloc Overview covers the basic architecture of
  • •The TCMalloc Reference covers the C and C++ TCMalloc
  • •The TCMalloc Tuning Guide covers the configuration
  • •The TCMalloc Design Doc covers how TCMalloc works
  • •The TCMalloc Compatibility Guide which documents

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言