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

Issue 1781573002: Enable the allocator shim on Linux Desktop / CrOS (Closed)

Created:
4 years, 9 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 9 months ago
Reviewers:
Nico
CC:
chromium-reviews, Will Harris, chrisha, Simon Que
Base URL:
https://chromium.googlesource.com/chromium/src.git@shim_linux
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable the allocator shim on Linux Desktop / CrOS This CL enables the shim introduced in crrev.com/1675143004 by default, only Linux desktop and CrOS. This CL is functionally a no-op, in the sense that does not change the default allocator (which remains tcmalloc on Linux/CrOS) and does not introduce any new feature (other than the possibility, for future CLs to install hooks in the allocator path). See crrev.com/1675143004 for a longer description about the allocator shim and the design doc bit.ly/allocator-shim. Note for stability sheriffs --------------------------- If you see suspicious crashes in tcmalloc (especially in free/tc_free) there are pretty good chances that something unexpectedly went wrong here and this CL is the culprit. Note for perf sheriffs ---------------------- There is a possibility that this CL might cause a regression on the perf waterfalls (only on Linux/CrOS bots) due to crbug.com/593344. The telemetry tests I tried to run locally were all inconclusive. Should a regression happen, a temporary workaround is possible as discussed in https://codereview.chromium.org/1675143004/#msg38. BUG=550886 TEST=base_unittests (AllocatorShimTest.*,OutOfMemoryDeathTest.*,TCMalloc*) Committed: https://crrev.com/8712d70e87c419af545e2bad088126d0e19eb384 Cr-Commit-Position: refs/heads/master@{#380377}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Disable flag on sanitizers #

Patch Set 4 : Fix build_for_tool condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M build/config/allocator.gni View 1 2 2 chunks +7 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (7 generated)
Primiano Tucci (use gerrit)
Well, let's roll the dices :)
4 years, 9 months ago (2016-03-09 16:43:57 UTC) #3
Nico
lgtm if you checked that this does in fact enable the shim in gyp (always ...
4 years, 9 months ago (2016-03-09 18:41:12 UTC) #5
Primiano Tucci (use gerrit)
On 2016/03/09 18:41:12, Nico wrote: > lgtm if you checked that this does in fact ...
4 years, 9 months ago (2016-03-09 18:42:57 UTC) #6
Primiano Tucci (use gerrit)
On 2016/03/09 18:42:57, Primiano wrote: > On 2016/03/09 18:41:12, Nico wrote: > > lgtm if ...
4 years, 9 months ago (2016-03-09 18:50:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1781573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1781573002/80001
4 years, 9 months ago (2016-03-10 08:24:40 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-10 09:17:14 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 09:19:25 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8712d70e87c419af545e2bad088126d0e19eb384
Cr-Commit-Position: refs/heads/master@{#380377}

Powered by Google App Engine
This is Rietveld 408576698