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

Issue 2674253003: Populate allocation size into OOM exception on Windows. (Closed)

Created:
3 years, 10 months ago by Sigurður Ásgeirsson
Modified:
3 years, 10 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, kalyank, sadrul, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Populate allocation size into OOM exception on Windows. This will allow exposing the attempted allocation size on the crash backend. Also set up for OOM handling in the crashpad-handler process. BUG=683158 Review-Url: https://codereview.chromium.org/2674253003 Cr-Commit-Position: refs/heads/master@{#448383} Committed: https://chromium.googlesource.com/chromium/src/+/7a7fbf7c5016a85e4610b9e2fe653a77807e932b

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix an abortive comment, per Scott's nit. #

Patch Set 3 : Address Will's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M base/process/memory_unittest.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M base/process/memory_win.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M components/crash/content/app/run_as_crashpad_handler_win.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Sigurður Ásgeirsson
Hey guys, I think this is an easy way to get the allocation size into ...
3 years, 10 months ago (2017-02-06 18:02:45 UTC) #4
Will Harris
On 2017/02/06 18:02:45, Sigurður Ásgeirsson wrote: > Hey guys, > > I think this is ...
3 years, 10 months ago (2017-02-06 18:03:53 UTC) #5
Sigurður Ásgeirsson
On 2017/02/06 18:02:45, Sigurður Ásgeirsson wrote: > Hey guys, > > I think this is ...
3 years, 10 months ago (2017-02-06 18:04:41 UTC) #6
scottmg
lgtm, but Will would know better if adding exception args is going to confuse something. ...
3 years, 10 months ago (2017-02-06 18:17:42 UTC) #7
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/2674253003/diff/1/components/crash/content/app/run_as_crashpad_handler_win.cc File components/crash/content/app/run_as_crashpad_handler_win.cc (right): https://codereview.chromium.org/2674253003/diff/1/components/crash/content/app/run_as_crashpad_handler_win.cc#newcode24 components/crash/content/app/run_as_crashpad_handler_win.cc:24: base::EnableTerminationOnOutOfMemory(); We should centralize all of the ...
3 years, 10 months ago (2017-02-06 18:22:39 UTC) #10
Will Harris
adding params shouldn't mess with anything, but minidump_stackwalk might have to be updated to print ...
3 years, 10 months ago (2017-02-06 18:24:04 UTC) #11
Sigurður Ásgeirsson
Thanks. Mark, if you feel strongly the setup code should be moved, lemme know. https://codereview.chromium.org/2674253003/diff/1/base/process/memory_unittest.cc ...
3 years, 10 months ago (2017-02-06 19:43:58 UTC) #14
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/2674253003/40001
3 years, 10 months ago (2017-02-06 19:45:05 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 20:45:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7a7fbf7c5016a85e4610b9e2fe65...

Powered by Google App Engine
This is Rietveld 408576698