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

Issue 12224030: Linux: add option to use system tcmalloc (off by default) (Closed)

Created:
7 years, 10 months ago by Paweł Hajdan Jr.
Modified:
7 years, 9 months ago
CC:
chromium-reviews, vsevik, jam, yurys, joi+watch-content_chromium.org, darin-cc_chromium.org, dmikurube+memory_chromium.org, erikwright+watch_chromium.org, pfeldman
Visibility:
Public.

Description

Linux: add option to use system tcmalloc (off by default) This changes things only for Linux distros, Google Chrome will continue to use bundled tcmalloc. BUG=174634

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -443 lines) Patch
M base/allocator/allocator.gyp View 3 chunks +498 lines, -438 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/content_app.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/generate_shim_headers/generate_shim_headers.py View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Paweł Hajdan Jr.
Feel free to add more people to review - just please do that directly instead ...
7 years, 10 months ago (2013-02-06 14:42:32 UTC) #1
Dai Mikurube (NOT FULLTIME)
Just curious. What is the purpose to use system tcmalloc?
7 years, 10 months ago (2013-02-07 04:13:55 UTC) #2
Paweł Hajdan Jr.
On 2013/02/07 04:13:55, Dai Mikurube wrote: > Just curious. What is the purpose to use ...
7 years, 10 months ago (2013-02-07 09:01:29 UTC) #3
yurys
devtools_agent.cc - lgtm
7 years, 10 months ago (2013-02-07 09:04:47 UTC) #4
Dai Mikurube (NOT FULLTIME)
On 2013/02/07 09:01:29, Paweł Hajdan Jr. wrote: > On 2013/02/07 04:13:55, Dai Mikurube wrote: > ...
7 years, 10 months ago (2013-02-07 09:15:01 UTC) #5
Paweł Hajdan Jr.
On 2013/02/07 09:15:01, Dai Mikurube wrote: > On 2013/02/07 09:01:29, Paweł Hajdan Jr. wrote: > ...
7 years, 10 months ago (2013-02-07 09:30:05 UTC) #6
Dai Mikurube (NOT FULLTIME)
On 2013/02/07 09:30:05, Paweł Hajdan Jr. wrote: > On 2013/02/07 09:15:01, Dai Mikurube wrote: > ...
7 years, 10 months ago (2013-02-07 09:46:03 UTC) #7
Paweł Hajdan Jr.
TBR 1. No objections from people who commented here. 2. No change for Google Chrome. ...
7 years, 10 months ago (2013-02-18 10:01:16 UTC) #8
jschuh
On 2013/02/18 10:01:16, Paweł Hajdan Jr. wrote: > TBR > > 1. No objections from ...
7 years, 10 months ago (2013-02-18 11:16:26 UTC) #9
Alexander Potapenko
+Julien, who's recently added a couple of security patches to tcmalloc (see https://code.google.com/p/chromium/issues/detail?id=169327 and https://code.google.com/p/chromium/issues/detail?id=170133)
7 years, 10 months ago (2013-02-18 11:48:40 UTC) #10
jschuh
I've reverted this CL. Just to provide more context for the revert, from the security ...
7 years, 10 months ago (2013-02-18 12:08:43 UTC) #11
jln (very slow on Chromium)
On 2013/02/18 12:08:43, Justin Schuh wrote: > I've reverted this CL. Just to provide more ...
7 years, 10 months ago (2013-02-19 22:04:35 UTC) #12
jar (doing other things)
I'd like to see the security team happy with this before landing it. From a ...
7 years, 10 months ago (2013-02-20 17:28:19 UTC) #13
darin (slow to review)
Is there any benefit to using system provided tcmalloc? Downsides of this patch: 1- Chromium ...
7 years, 10 months ago (2013-02-21 04:00:46 UTC) #14
jschuh
On 2013/02/21 04:00:46, darin wrote: > Is there any benefit to using system provided tcmalloc? ...
7 years, 10 months ago (2013-02-21 12:10:32 UTC) #15
Paweł Hajdan Jr.
7 years, 9 months ago (2013-02-28 01:05:12 UTC) #16
I'm closing this issue - at this point it is not feasible to upstream
Chromium-specific tcmalloc changes or publish the fork, and Linux distributions
building with -Dlinux_use_tcmalloc=0 because of issues with nvidia drivers
(https://code.google.com/p/chromium/issues/detail?id=177218 and
https://bugs.gentoo.org/show_bug.cgi?id=413637) are considered less of an issue
than potentially creating an impression that use_system_tcmalloc is as good as
the bundled one.

Powered by Google App Engine
This is Rietveld 408576698