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

Issue 2648423006: Fix ExhaustMemory on clang. (Closed)

Created:
3 years, 11 months ago by Will Harris
Modified:
3 years, 10 months ago
Reviewers:
Ilya Sherman, Nico, jam
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, vmpstr+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ExhaustMemory on clang. Also, bolster the current tests to verify sad tab behavior. BUG=681218 Review-Url: https://codereview.chromium.org/2648423006 Cr-Commit-Position: refs/heads/master@{#450078} Committed: https://chromium.googlesource.com/chromium/src/+/3dcb0a73e6f194be62930e7e1924a0b6965f5637

Patch Set 1 #

Patch Set 2 : unused function #

Patch Set 3 : all arch #

Total comments: 2

Patch Set 4 : move test to browser tests and rebase #

Patch Set 5 : fixes to tests #

Total comments: 10

Patch Set 6 : address code review comments #

Patch Set 7 : add comment, fix issue #

Total comments: 5

Patch Set 8 : final nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -0 lines) Patch
M chrome/browser/metrics/metrics_service_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +90 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
Will Harris
No reason to believe this won't work, but I'm a little wary of doing that ...
3 years, 11 months ago (2017-01-25 22:36:52 UTC) #3
Will Harris
On 2017/01/25 22:36:52, Will Harris wrote: > No reason to believe this won't work, but ...
3 years, 11 months ago (2017-01-25 22:38:08 UTC) #4
Nico
https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc File base/process/memory_unittest.cc (right): https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc#newcode151 base/process/memory_unittest.cc:151: } do we really need this test? it duplicates ...
3 years, 11 months ago (2017-01-26 17:56:53 UTC) #5
Will Harris
https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc File base/process/memory_unittest.cc (right): https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc#newcode151 base/process/memory_unittest.cc:151: } On 2017/01/26 17:56:53, Nico wrote: > do we ...
3 years, 11 months ago (2017-01-26 18:12:44 UTC) #6
Nico
On 2017/01/26 18:12:44, Will Harris wrote: > https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc > File base/process/memory_unittest.cc (right): > > https://codereview.chromium.org/2648423006/diff/40001/base/process/memory_unittest.cc#newcode151 ...
3 years, 11 months ago (2017-01-26 18:25:19 UTC) #7
Will Harris
On 2017/01/26 18:25:19, Nico wrote: > On 2017/01/26 18:12:44, Will Harris wrote: > > > ...
3 years, 10 months ago (2017-02-03 23:07:43 UTC) #14
Will Harris
isherman can you take a look at the addition to chrome/browser/metrics/metrics_service_browsertest.cc ? thanks
3 years, 10 months ago (2017-02-06 21:23:46 UTC) #16
Nico
lgtm!
3 years, 10 months ago (2017-02-06 22:43:00 UTC) #17
Ilya Sherman
Sorry, won't have a chance to look at this today, will try to get to ...
3 years, 10 months ago (2017-02-07 01:43:52 UTC) #18
Ilya Sherman
Thanks, Will. https://codereview.chromium.org/2648423006/diff/180001/chrome/browser/metrics/metrics_service_browsertest.cc File chrome/browser/metrics/metrics_service_browsertest.cc (right): https://codereview.chromium.org/2648423006/diff/180001/chrome/browser/metrics/metrics_service_browsertest.cc#newcode42 chrome/browser/metrics/metrics_service_browsertest.cc:42: namespace { nit: Please leave a blank ...
3 years, 10 months ago (2017-02-07 16:50:26 UTC) #19
Will Harris
Thanks for review - sorry there's a rebase hidden in there. Also, looks like I ...
3 years, 10 months ago (2017-02-07 17:45:20 UTC) #21
Ilya Sherman
LGTM % remaining nits. Thanks! https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc File chrome/browser/metrics/metrics_service_browsertest.cc (right): https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc#newcode51 chrome/browser/metrics/metrics_service_browsertest.cc:51: EXPECT_EQ(1UL, buckets.size()); nit: This ...
3 years, 10 months ago (2017-02-07 19:40:22 UTC) #22
jam
lgtm
3 years, 10 months ago (2017-02-08 01:42:45 UTC) #23
Will Harris
all done, sorry for delay. thanks for reviews. https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc File chrome/browser/metrics/metrics_service_browsertest.cc (right): https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc#newcode51 chrome/browser/metrics/metrics_service_browsertest.cc:51: EXPECT_EQ(1UL, ...
3 years, 10 months ago (2017-02-13 19:24:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2648423006/240001
3 years, 10 months ago (2017-02-13 19:25:30 UTC) #27
Ilya Sherman
(Still LGTM, dear commit bot) https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc File chrome/browser/metrics/metrics_service_browsertest.cc (right): https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc#newcode51 chrome/browser/metrics/metrics_service_browsertest.cc:51: EXPECT_EQ(1UL, buckets.size()); On 2017/02/13 ...
3 years, 10 months ago (2017-02-13 19:27:21 UTC) #28
Will Harris
On 2017/02/13 19:27:21, Ilya Sherman wrote: > (Still LGTM, dear commit bot) > > https://codereview.chromium.org/2648423006/diff/220001/chrome/browser/metrics/metrics_service_browsertest.cc ...
3 years, 10 months ago (2017-02-13 20:14:51 UTC) #29
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 20:53:43 UTC) #32
Message was sent while issue was closed.
Committed patchset #8 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/3dcb0a73e6f194be62930e7e1924...

Powered by Google App Engine
This is Rietveld 408576698