commit | f1f5078f75c207020ef030343b1a4df898fcb5cc | [log] [tgz] |
---|---|---|
author | Gabriel Marin <gmx@chromium.org> | Fri Oct 05 20:14:44 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 05 20:14:44 2018 |
tree | d082dbbfaf20b40ecdc58cfb1e4cd16e4349585e | |
parent | 2684641d2c9dce60b5bf911501964e7d256ddcc6 [diff] |
tcmalloc: Honor HEAPPROFILE envvar only in profiling=1 builds. Original CL: - https://codereview.chromium.org/295583002 tcmalloc: Honor HEAPPROFILE envvar only in profiling=1 builds. Several systems in chromium (about:tracing, some code in blink) use tcmalloc's heap profiler, so keep most of it around. Do disable support for the HEAPPROFILE envvar, and for the exit-time dump to "Exiting" (unless in profiling=1 builds), as that causes a static initializer. BUG=94925 R=willchan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271415 BUG=724399,b:70905156 Change-Id: Ib80ec045a2cdadb714bd1f9c3daab2c63be9874b Reviewed-on: https://chromium-review.googlesource.com/c/1130806 Reviewed-by: Will Harris <wfh@chromium.org> Commit-Queue: Gabriel Marin <gmx@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#597263} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: da34dba0a10d0a251d3e4d34589e10ca9a51f162