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

Issue 1039007: Die on an OOM situation in many more cases.... (Closed)

Created:
10 years, 9 months ago by Avi (use Gerrit)
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, pam+watch_chromium.org, brettw+cc_chromium.org, John Grabowski, Paweł Hajdan Jr.
Visibility:
Public.

Description

Die on an OOM situation in many more cases. Continuation of http://codereview.chromium.org/875004 after a revert. BUG=http://crbug.com/12673 TEST=run out of memory and die Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42127

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -24 lines) Patch
M base/base.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M base/process_util_mac.mm View 1 4 chunks +138 lines, -15 lines 2 comments Download
M base/process_util_unittest.cc View 6 chunks +42 lines, -4 lines 0 comments Download
A + base/process_util_unittest_mac.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + base/process_util_unittest_mac.mm View 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Avi (use Gerrit)
I don't think it's the same situation as the article you mentioned (superclass implementations, etc) ...
10 years, 9 months ago (2010-03-17 21:41:43 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/1039007/diff/4001/5004 File base/process_util_mac.mm (right): http://codereview.chromium.org/1039007/diff/4001/5004#newcode584 base/process_util_mac.mm:584: removed blank line here.
10 years, 9 months ago (2010-03-17 21:44:05 UTC) #2
Mark Mentovai
OK. Before I LG this, for curiosity's sake, did you try the alternate strategy that ...
10 years, 9 months ago (2010-03-17 22:31:43 UTC) #3
Avi (use Gerrit)
Which alternate strategy do you refer to? There's no simple way to add a class ...
10 years, 9 months ago (2010-03-17 22:34:09 UTC) #4
Mark Mentovai
avi@chromium.org wrote: > Which alternate strategy do you refer to? > > There's no simple ...
10 years, 9 months ago (2010-03-17 22:37:20 UTC) #5
Avi (use Gerrit)
These aren't instance methods; the first two variables would be nil.
10 years, 9 months ago (2010-03-17 22:39:17 UTC) #6
Mark Mentovai
avi@chromium.org wrote: > These aren't instance methods; the first two variables would be nil. Sure, ...
10 years, 9 months ago (2010-03-17 22:41:34 UTC) #7
Avi (use Gerrit)
Right, but class_addMethod and class_replaceMethod are for instance methods. Couldn't find class versions, and in ...
10 years, 9 months ago (2010-03-17 22:47:16 UTC) #8
Mark Mentovai
avi@chromium.org wrote: > Right, but class_addMethod and class_replaceMethod are for instance methods. > Couldn't find ...
10 years, 9 months ago (2010-03-18 16:56:44 UTC) #9
Avi (use Gerrit)
For the record (we talked in person) addMethod fails and then we'd fall through to ...
10 years, 9 months ago (2010-03-18 19:37:54 UTC) #10
Mark Mentovai
LGTM, this should work in any event. The question is just one more bit of ...
10 years, 9 months ago (2010-03-18 19:43:10 UTC) #11
Avi (use Gerrit)
10 years, 9 months ago (2010-03-18 19:56:31 UTC) #12
It's exactly what we'd expect: |allocWithZone:|

Powered by Google App Engine
This is Rietveld 408576698