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

Issue 1613183002: allocator: Remove tcmalloc override when build_for_tool==memcheck (Closed)

Created:
4 years, 11 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 11 months ago
Reviewers:
Reid Kleckner, Nico, scottmg
CC:
chromium-reviews, oshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

allocator: Remove tcmalloc override when build_for_tool==memcheck Practical reason of this CL: This is causing a breakage in the Mac Valgrind builder after crrev.com/1616793003: https://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Mac%20Builder%20%28valgrind%29/builds/91232/steps/runhooks/logs/stdio Longer explanation: crrev.com/1616793003 made allocator target toolset: host, target (which itself should be OK) A very old condition was forcing use_allocator=tcmalloc on all OS when build_for_tool=memcheck. This causes problems now on the Mac valgrind bot when building the chromium_builder_dbg_valgrind_mac target. In the last change that touched this line, crrev.com/258433005, the original condition was linux_use_tcmalloc=1. This was mistakenly translated in a blanket allocator==tcmalloc. Rationale for removing this line: allocator=tcmalloc is the default on linux these days. I don't see a reason why re-enforcing this condition, as use_allocator=tcmalloc by default on the right (Linux/Android) platforms. BUG=564618, 580108 TEST=gyp_chromium -Dbuild_for_tool=memcheck && ninja chromium_builder_dbg_valgrind_mac Committed: https://crrev.com/bb9da71e07aa9e8af0745f8866c72570d8187ac4 Cr-Commit-Position: refs/heads/master@{#370724}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M build/common.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (9 generated)
Primiano Tucci (use gerrit)
4 years, 11 months ago (2016-01-21 16:03:32 UTC) #4
Primiano Tucci (use gerrit)
For the record I did reproduce the breakage locally and confirm that this patch fix ...
4 years, 11 months ago (2016-01-21 16:15:51 UTC) #6
scottmg
lgtm
4 years, 11 months ago (2016-01-21 17:27:58 UTC) #9
scottmg
(assuming no equivalent GN change required?)
4 years, 11 months ago (2016-01-21 17:29:35 UTC) #10
Primiano Tucci (use gerrit)
On 2016/01/21 17:29:35, scottmg wrote: > (assuming no equivalent GN change required?) Didn't find any ...
4 years, 11 months ago (2016-01-21 17:32:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613183002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613183002/1
4 years, 11 months ago (2016-01-21 17:33:05 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-21 17:37:45 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 17:39:05 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bb9da71e07aa9e8af0745f8866c72570d8187ac4
Cr-Commit-Position: refs/heads/master@{#370724}

Powered by Google App Engine
This is Rietveld 408576698