Skip to content
No description, website, or topics provided.
C++ Starlark Assembly Other
Branch: master
Clone or download

Latest commit

martinmaas and Copybara-Service Collect additional subrelease statistics for HugePageFiller.
PiperOrigin-RevId: 302743411
Change-Id: I840e2fd5ec095df3e884a16c022697add5df5424
Latest commit b348091 Mar 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci Bump docker containers to latest versions of GCC/Clang. Mar 24, 2020
docs Collect additional subrelease statistics for HugePageFiller. Mar 24, 2020
tcmalloc Collect additional subrelease statistics for HugePageFiller. Mar 24, 2020
.bazelrc Initial commit Feb 7, 2020
.gitignore Added a gitignore Feb 14, 2020
CONTRIBUTING.md Initial commit Feb 7, 2020
LICENSE
README.md Document expectations for Transparent Huge Pages Feb 26, 2020
WORKSPACE Bump docker containers to latest versions of GCC/Clang. Mar 24, 2020

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.

You can’t perform that action at this time.