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

Issue 2624543004: [inspector] unconditionally pause on OOM (Closed)

Created:
3 years, 11 months ago by kozy
Modified:
3 years, 11 months ago
Reviewers:
dgozman, ulan, alph
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] unconditionally pause on OOM Currently V8 context just crashes on OOM, with this CL backend will send paused notification with OOM reason before OOM and will increase heap limits to allow further debugging on pause. BUG=chromium:675911 Review-Url: https://codereview.chromium.org/2624543004 Cr-Commit-Position: refs/heads/master@{#42480} Committed: https://chromium.googlesource.com/v8/v8/+/9662547c15db6dc54169a3d2da91048d3d669fda

Patch Set 1 #

Patch Set 2 : better test #

Total comments: 2

Patch Set 3 : addressed comments #

Patch Set 4 : much better test #

Patch Set 5 : better test #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -7 lines) Patch
M src/inspector/js_protocol.json View 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/v8-debugger.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 5 5 chunks +16 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 chunks +8 lines, -3 lines 0 comments Download
A test/inspector/debugger/pause-on-oom.js View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A test/inspector/debugger/pause-on-oom-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 39 (24 generated)
kozy
Dmitry and Ulan, please take a look.
3 years, 11 months ago (2017-01-11 10:21:28 UTC) #5
ulan
The usage of v8 api lgtm.
3 years, 11 months ago (2017-01-11 19:42:09 UTC) #6
kozy
Alexei, please take a look!
3 years, 11 months ago (2017-01-17 20:20:28 UTC) #10
dgozman
lgtm https://codereview.chromium.org/2624543004/diff/80001/test/inspector/debugger/pause-on-oom.js File test/inspector/debugger/pause-on-oom.js (right): https://codereview.chromium.org/2624543004/diff/80001/test/inspector/debugger/pause-on-oom.js#newcode1 test/inspector/debugger/pause-on-oom.js:1: // Copyright 2016 the V8 project authors. All ...
3 years, 11 months ago (2017-01-18 16:47:56 UTC) #13
kozy
thanks! all done. https://codereview.chromium.org/2624543004/diff/80001/test/inspector/debugger/pause-on-oom.js File test/inspector/debugger/pause-on-oom.js (right): https://codereview.chromium.org/2624543004/diff/80001/test/inspector/debugger/pause-on-oom.js#newcode1 test/inspector/debugger/pause-on-oom.js:1: // Copyright 2016 the V8 project ...
3 years, 11 months ago (2017-01-18 16:55:33 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/2624543004/100001
3 years, 11 months ago (2017-01-18 16:55:56 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/15758) v8_win_nosnap_shared_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 17:33:14 UTC) #19
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/2624543004/120001
3 years, 11 months ago (2017-01-18 19:36:16 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/15266) v8_linux_nodcheck_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 19:56:27 UTC) #24
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/2624543004/140001
3 years, 11 months ago (2017-01-18 20:14:22 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/15237) v8_linux_nodcheck_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 20:18:36 UTC) #29
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/2624543004/160001
3 years, 11 months ago (2017-01-18 20:23:53 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/19477) v8_linux64_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-18 20:46:12 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/2624543004/160001
3 years, 11 months ago (2017-01-18 21:16:34 UTC) #36
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 21:35:17 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/9662547c15db6dc54169a3d2da91048d3d6...

Powered by Google App Engine
This is Rietveld 408576698