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

Issue 875004: 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, John Grabowski, pam+watch_chromium.org, brettw+cc_chromium.org
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 7

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -19 lines) Patch
M base/base.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M base/process_util_mac.mm View 1 2 4 chunks +135 lines, -15 lines 0 comments Download
M base/process_util_unittest.cc View 3 4 5 6 chunks +42 lines, -4 lines 0 comments Download
A base/process_util_unittest_mac.h View 1 chunk +26 lines, -0 lines 0 comments Download
A base/process_util_unittest_mac.mm View 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Avi (use Gerrit)
It feels like I'm planting landmines in the ground as if they were flowers, each ...
10 years, 9 months ago (2010-03-12 20:28:45 UTC) #1
Mark Mentovai
http://codereview.chromium.org/875004/diff/1/2 File base/process_util_mac.mm (right): http://codereview.chromium.org/875004/diff/1/2#newcode14 base/process_util_mac.mm:14: #include <new> Sort C++ system headers together, after C ...
10 years, 9 months ago (2010-03-12 20:42:19 UTC) #2
Mark Mentovai
It's overall LGTM, but the CF bits are the scariest things here. I want to ...
10 years, 9 months ago (2010-03-12 20:42:56 UTC) #3
Avi (use Gerrit)
Understood. Unfortunately I can't think of any good way at runtime to tell that the ...
10 years, 9 months ago (2010-03-12 20:57:21 UTC) #4
Mark Mentovai
OK. One last question before I invoke jrg: have you tried this out on both ...
10 years, 9 months ago (2010-03-12 21:02:36 UTC) #5
Avi (use Gerrit)
10 years, 9 months ago (2010-03-15 23:12:23 UTC) #6
Avi (use Gerrit)
On 2010/03/15 23:12:23, Avi wrote: > Works on 10.5 and 10.6.
10 years, 9 months ago (2010-03-15 23:29:38 UTC) #7
Mark Mentovai
http://codereview.chromium.org/875004/diff/21001/22003 File base/process_util_unittest.cc (right): http://codereview.chromium.org/875004/diff/21001/22003#newcode527 base/process_util_unittest.cc:527: test_size_(std::numeric_limits<std::size_t>::max() - 12288), I'd say 12 * 1024. What's ...
10 years, 9 months ago (2010-03-16 00:57:50 UTC) #8
Avi (use Gerrit)
http://codereview.chromium.org/875004/diff/21001/22003 File base/process_util_unittest.cc (right): http://codereview.chromium.org/875004/diff/21001/22003#newcode527 base/process_util_unittest.cc:527: test_size_(std::numeric_limits<std::size_t>::max() - 12288), On 2010/03/16 00:57:50, Mark Mentovai wrote: ...
10 years, 9 months ago (2010-03-16 14:26:20 UTC) #9
Mark Mentovai
10 years, 9 months ago (2010-03-16 20:17:08 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698