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

Issue 2362713002: Handle failures allocating mapped local memory. (Closed)

Created:
4 years, 3 months ago by bcwhite
Modified:
4 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle failures allocating mapped local memory. BUG=635993 Committed: https://crrev.com/cd4923db62f029122ef81b54d03aa12343846c02 Cr-Commit-Position: refs/heads/master@{#420671}

Patch Set 1 #

Patch Set 2 : only report failures so new histograms don't mess up tests #

Total comments: 10

Patch Set 3 : removed unnecessary :: and add enums to histograms #

Patch Set 4 : have allocator take addr/type for memory #

Patch Set 5 : fixed histograms errno enum; added WinGetLastError enum #

Total comments: 4

Patch Set 6 : use 'enum' instead of 'units' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+643 lines, -44 lines) Patch
M base/metrics/persistent_memory_allocator.h View 1 2 3 4 chunks +27 lines, -4 lines 0 comments Download
M base/metrics/persistent_memory_allocator.cc View 1 2 3 7 chunks +73 lines, -34 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 8 chunks +543 lines, -6 lines 0 comments Download

Messages

Total messages: 46 (30 generated)
bcwhite
4 years, 3 months ago (2016-09-22 16:50:58 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/2362713002/diff/20001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/2362713002/diff/20001/base/metrics/persistent_memory_allocator.cc#newcode775 base/metrics/persistent_memory_allocator.cc:775: // to the process now istead of when first ...
4 years, 3 months ago (2016-09-22 16:57:13 UTC) #11
bcwhite
https://codereview.chromium.org/2362713002/diff/20001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/2362713002/diff/20001/base/metrics/persistent_memory_allocator.cc#newcode775 base/metrics/persistent_memory_allocator.cc:775: // to the process now istead of when first ...
4 years, 3 months ago (2016-09-22 17:25:59 UTC) #13
bcwhite
As discussed, new patch that passes Memory structure with both address and type that can ...
4 years, 3 months ago (2016-09-22 19:57:38 UTC) #16
Alexei Svitkine (slow)
Looks good. Just a comment about histograms.xml. https://codereview.chromium.org/2362713002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2362713002/diff/20001/tools/metrics/histograms/histograms.xml#newcode63490 tools/metrics/histograms/histograms.xml:63490: +<histogram name="UMA.LocalPersistentMemoryAllocator.Failures.Win"> ...
4 years, 3 months ago (2016-09-22 20:23:54 UTC) #17
bcwhite
https://codereview.chromium.org/2362713002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2362713002/diff/20001/tools/metrics/histograms/histograms.xml#newcode63490 tools/metrics/histograms/histograms.xml:63490: +<histogram name="UMA.LocalPersistentMemoryAllocator.Failures.Win"> > Hmm, actually units="GetLastError" doesn't do anything. ...
4 years, 3 months ago (2016-09-22 23:41:46 UTC) #25
Alexei Svitkine (slow)
https://codereview.chromium.org/2362713002/diff/120001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2362713002/diff/120001/tools/metrics/histograms/histograms.xml#newcode23269 tools/metrics/histograms/histograms.xml:23269: +<histogram name="Media.Initialize.Windows" units="WinGetLastError"> Change units= to enum= Same for ...
4 years, 3 months ago (2016-09-23 13:50:53 UTC) #28
bcwhite
https://codereview.chromium.org/2362713002/diff/120001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2362713002/diff/120001/tools/metrics/histograms/histograms.xml#newcode23269 tools/metrics/histograms/histograms.xml:23269: +<histogram name="Media.Initialize.Windows" units="WinGetLastError"> On 2016/09/23 13:50:53, Alexei Svitkine (very ...
4 years, 3 months ago (2016-09-23 14:08:20 UTC) #31
Alexei Svitkine (slow)
lgtm
4 years, 3 months ago (2016-09-23 14:16:30 UTC) #32
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/2362713002/140001
4 years, 3 months ago (2016-09-23 14:20:28 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/262997)
4 years, 3 months ago (2016-09-23 14:27:50 UTC) #37
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/2362713002/140001
4 years, 3 months ago (2016-09-23 14:38:09 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/90871)
4 years, 3 months ago (2016-09-23 14:56:51 UTC) #41
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/2362713002/140001
4 years, 3 months ago (2016-09-23 17:15:01 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 3 months ago (2016-09-23 18:30:26 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 18:32:25 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cd4923db62f029122ef81b54d03aa12343846c02
Cr-Commit-Position: refs/heads/master@{#420671}

Powered by Google App Engine
This is Rietveld 408576698