arcadia-devtools 6a43bb89fc intermediate changes 3 years ago
..
.yandex_meta 6a43bb89fc intermediate changes 3 years ago
default e34f3f0e38 Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2. 3 years ago
dynamic 4059c9a907 Restoring authorship annotation for <skacheev@yandex-team.ru>. Commit 2 of 2. 3 years ago
malloc_extension e34f3f0e38 Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2. 3 years ago
numa_256k e34f3f0e38 Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2. 3 years ago
numa_large_pages e34f3f0e38 Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2. 3 years ago
patches b23c1d7a80 Restoring authorship annotation for <monster@yandex-team.ru>. Commit 2 of 2. 3 years ago
small_but_slow 8de0f05c13 intermediate changes 3 years ago
tcmalloc 47af3b5bf1 Restoring authorship annotation for <gusev-p@yandex-team.ru>. Commit 2 of 2. 3 years ago
CONTRIBUTING.md 480eebba21 Restoring authorship annotation for <ayles@yandex-team.ru>. Commit 2 of 2. 3 years ago
LICENSE 480eebba21 Restoring authorship annotation for <ayles@yandex-team.ru>. Commit 2 of 2. 3 years ago
README.md 480eebba21 Restoring authorship annotation for <ayles@yandex-team.ru>. Commit 2 of 2. 3 years ago
common.inc e34f3f0e38 Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2. 3 years ago
ya.make 8de0f05c13 intermediate changes 3 years ago

README.md

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. 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.