Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Issue 1632253002: Allocator cleanup: remove CHROME_PROFILER_TIME and rotten tcmalloc deps (Closed)

Created:
4 years, 11 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 11 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, vmpstr+watch_chromium.org, jam, darin-cc_chromium.org, devtools-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, pfeldman, Simon Que, fmeawad, jar (doing other things), ramant (doing other things), brucedawson, chrisha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allocator cleanup: remove CHROME_PROFILER_TIME and rotten tcmalloc deps This CL removes the support for the CHROME_PROFILER_TIME env var, originally introduced by crrev.com/9212025 more than 3 years ago, which allows to change the time source for the profiler via the environment. Reason for deleting it: could not find any active user of that. See also discussion in project-trim@chromium.org @ goo.gl/p3GEUy . After this CL (almost*) nothing outside of base depends on tcmalloc. This is the place where we want to be, as base should be the only thing knowing about allocator internals. * There is only one dep left in content_child_helpers.cc, which is relied on by old-style telemetry memory benchmarks. But that code is literally a dead man walking and there is no point refactoring it. BUG=564618, 581365 Committed: https://crrev.com/196fb1f13813c464e3f1effac15f5c557308015b Cr-Commit-Position: refs/heads/master@{#371770}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -48 lines) Patch
M base/profiler/alternate_timer.h View 1 1 chunk +1 line, -9 lines 1 comment Download
M base/profiler/alternate_timer.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/app/content_main_runner.cc View 3 chunks +0 lines, -18 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/child/content_child_helpers.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/cld/README.chromium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/cld/base/build_config.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Primiano Tucci (use gerrit)
Before I reach out to OWNERS, is anybody aware of an actual use of CHROME_PROFILER_TIME ...
4 years, 11 months ago (2016-01-26 19:33:08 UTC) #3
Primiano Tucci (use gerrit)
+brucedawson +crisha just in case somebody is using CHROME_PROFILER_TIME in Windows-land. For context: not asking ...
4 years, 11 months ago (2016-01-26 19:35:34 UTC) #5
Primiano Tucci (use gerrit)
On 2016/01/26 19:35:34, Primiano Tucci wrote: > +brucedawson +crisha just in case somebody is using ...
4 years, 11 months ago (2016-01-26 19:58:56 UTC) #6
Primiano Tucci (use gerrit)
+andrewhayden@ for third_party/cld
4 years, 11 months ago (2016-01-26 19:59:47 UTC) #8
Primiano Tucci (use gerrit)
(hit enter too quickly, apologies for the double mail) +thakis for ---lines in base/ +sievers ...
4 years, 11 months ago (2016-01-26 20:00:37 UTC) #9
Nico
lgtm Sounds like about:profiler doesn't use this (anymore? or maybe never did) https://codereview.chromium.org/1632253002/diff/20001/base/profiler/alternate_timer.h File base/profiler/alternate_timer.h ...
4 years, 11 months ago (2016-01-26 21:14:41 UTC) #10
no sievers
lgtm
4 years, 11 months ago (2016-01-26 22:04:12 UTC) #11
Primiano Tucci (use gerrit)
> Sounds like about:profiler doesn't use this (anymore? or maybe never did) Yup. See discussion ...
4 years, 11 months ago (2016-01-26 23:45:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632253002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632253002/20001
4 years, 11 months ago (2016-01-27 09:26:08 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-27 10:41:36 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 10:42:57 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/196fb1f13813c464e3f1effac15f5c557308015b
Cr-Commit-Position: refs/heads/master@{#371770}

Powered by Google App Engine
This is Rietveld 408576698