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

Issue 2173463002: Make base::TerminateBecauseOutOfMemory call RaiseException on Windows. (Closed)

Created:
4 years, 5 months ago by Will Harris
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make base::TerminateBecauseOutOfMemory call RaiseException on Windows. This is a follow-on CL to https://codereview.chromium.org/2130293003 which added the RaiseException call in memory_win.cc but missed memory.cc BUG=614440 Committed: https://crrev.com/3850a4d9df7a7e6f1c2d48715362de6bac01523a Cr-Commit-Position: refs/heads/master@{#407315}

Patch Set 1 #

Patch Set 2 : fix unittests #

Total comments: 1

Patch Set 3 : rejig #

Patch Set 4 : non-windows type #

Patch Set 5 : make win only #

Patch Set 6 : implement in memory_stubs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -13 lines) Patch
M base/process/memory.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M base/process/memory.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M base/process/memory_stubs.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M base/process/memory_win.cc View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M skia/ext/SkMemory_new_handler.cpp View 1 chunk +2 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (23 generated)
Will Harris
PTAL - missed an OOM handler.
4 years, 5 months ago (2016-07-21 21:11:27 UTC) #9
mtklein_C
the Skia bit (very) lgtm
4 years, 5 months ago (2016-07-21 21:13:47 UTC) #10
Mark Mentovai
LGTM https://codereview.chromium.org/2173463002/diff/20001/base/process/memory_win.cc File base/process/memory_win.cc (right): https://codereview.chromium.org/2173463002/diff/20001/base/process/memory_win.cc#newcode41 base/process/memory_win.cc:41: const DWORD kOomExceptionCode = 0xe0000008; Now you’ve got ...
4 years, 5 months ago (2016-07-21 21:15:12 UTC) #11
Will Harris
actually I need this code to be exposed out of this file, as it's needed ...
4 years, 5 months ago (2016-07-21 23:02:45 UTC) #12
Will Harris
mark - this is enough different it probably needs another quick review. I made the ...
4 years, 5 months ago (2016-07-21 23:32:05 UTC) #13
Mark Mentovai
This is LGTM, except Will Harris wrote: > mark - this is enough different it ...
4 years, 5 months ago (2016-07-22 01:51:02 UTC) #14
Will Harris
On 2016/07/22 01:51:02, Mark Mentovai wrote: > This is LGTM, except > > Will Harris ...
4 years, 5 months ago (2016-07-22 02:01:08 UTC) #15
Will Harris
On 2016/07/22 02:01:08, Will Harris wrote: > On 2016/07/22 01:51:02, Mark Mentovai wrote: > > ...
4 years, 5 months ago (2016-07-22 02:04:25 UTC) #16
Mark Mentovai
LGTM here now
4 years, 5 months ago (2016-07-22 18:30:12 UTC) #18
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/2173463002/100001
4 years, 5 months ago (2016-07-22 18:40:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/40146)
4 years, 5 months ago (2016-07-22 18:47:47 UTC) #23
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/2173463002/140001
4 years, 5 months ago (2016-07-22 21:56:26 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/249061)
4 years, 5 months ago (2016-07-22 22:19:06 UTC) #33
Will Harris
On 2016/07/22 22:19:06, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-22 22:22:09 UTC) #34
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/2173463002/140001
4 years, 5 months ago (2016-07-22 22:29:12 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 5 months ago (2016-07-23 00:24:09 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 00:26:43 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3850a4d9df7a7e6f1c2d48715362de6bac01523a
Cr-Commit-Position: refs/heads/master@{#407315}

Powered by Google App Engine
This is Rietveld 408576698