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

Issue 216033: Add a simple about:tcmalloc page that just displays its canned stats.... (Closed)

Created:
11 years, 3 months ago by sgk
Modified:
9 years, 5 months ago
Reviewers:
Mike Belshe
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google), jar (doing other things)
Visibility:
Public.

Description

Add a simple about:tcmalloc page that just displays its canned stats. Add USE_TCMALLOC to control its inclusion. Make browser depend on tcmalloc to get the PERFTOOLS_DLL_DECL definition. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26816

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : add DEPS update for #include #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : Add dependency in chrome.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M build/build_config.h View 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/DEPS View 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 4 chunks +21 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mike Belshe
lgtm! http://codereview.chromium.org/216033/diff/1/2 File chrome/browser/browser_about_handler.cc (right): http://codereview.chromium.org/216033/diff/1/2#newcode43 Line 43: #include "third_party/tcmalloc/google/malloc_extension.h" Does this work ok on ...
11 years, 3 months ago (2009-09-21 15:14:15 UTC) #1
sgk
http://codereview.chromium.org/216033/diff/1/2 File chrome/browser/browser_about_handler.cc (right): http://codereview.chromium.org/216033/diff/1/2#newcode43 Line 43: #include "third_party/tcmalloc/google/malloc_extension.h" On 2009/09/21 15:14:16, Mike Belshe wrote: ...
11 years, 3 months ago (2009-09-21 17:34:54 UTC) #2
sgk
This adds an explicit USE_TCMALLOC. Please double-check the by-hand #define PERFTOOLS_DLL_DECL in browser_about_handler.cc. Without this, ...
11 years, 3 months ago (2009-09-21 21:10:02 UTC) #3
Mike Belshe
Let's figure out what the deal is with PERFTOOLS_DLL_DECL. We shouldn't need it - maybe ...
11 years, 3 months ago (2009-09-22 04:52:30 UTC) #4
sgk
http://codereview.chromium.org/216033/diff/7001/8001 File chrome/browser/browser_about_handler.cc (right): http://codereview.chromium.org/216033/diff/7001/8001#newcode56 Line 56: //#include "third_party/tcmalloc/config.h" On 2009/09/22 04:52:31, Mike Belshe wrote: ...
11 years, 3 months ago (2009-09-22 12:37:33 UTC) #5
Mike Belshe
11 years, 3 months ago (2009-09-22 15:46:15 UTC) #6
lgtm

On 2009/09/22 12:37:33, sgk wrote:
> http://codereview.chromium.org/216033/diff/7001/8001
> File chrome/browser/browser_about_handler.cc (right):
> 
> http://codereview.chromium.org/216033/diff/7001/8001#newcode56
> Line 56: //#include "third_party/tcmalloc/config.h"
> On 2009/09/22 04:52:31, Mike Belshe wrote:
> > did you want this commented out line?
> 
> Done.
> 
> http://codereview.chromium.org/216033/diff/7001/8001#newcode58
> Line 58: #define PERFTOOLS_DLL_DECL
> On 2009/09/22 04:52:31, Mike Belshe wrote:
> > Something fishy is going on with this macro.  You should not need it.
> 
> Right you are.  The browser target in chrome.gyp needed a dependency on
tcmalloc
> instead.

Powered by Google App Engine
This is Rietveld 408576698