tcmalloc: Don't let tcmalloc read all kinds of env vars at startup.
Original CL: - https://codereview.chromium.org/281613004 Don't let tcmalloc read all kinds of env vars at startup. The env vars are still used in profiling=1 builds, by such illustrious figures as the deep memory profiler bot and willchan. Reading from the environment variables uses static initializers, so this change will eliminate those static initializers in profiling=0 builds. As discussed in the chromium-dev thread "Does anyone use tcmalloc's debugging envvars?". BUG=94925 NOTRY=true BUG=724399,b:70905156 Change-Id: Ic143dfca456a3475be0938af53c0eb4308f457d1 Reviewed-on: https://chromium-review.googlesource.com/1130780Reviewed-by:Will Harris <wfh@chromium.org> Commit-Queue: Gabriel Marin <gmx@chromium.org> Cr-Commit-Position: refs/heads/master@{#579496}
Showing
Please register or sign in to comment