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

Issue 2669393002: [inspector] fixed taskHeapSnapshot on pause (Closed)

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

Description

[inspector] fixed taskHeapSnapshot on pause Blink uses access checks to be sure that objects from one context doesn't access objects in another. Heap profiler uses current context to call this checks, we need to be sure that current context is empty to allow heap profiler collect all objects without crash. BUG=chromium:661223 R=alph@chromium.org,ulan@chromium.org Review-Url: https://codereview.chromium.org/2669393002 Cr-Commit-Position: refs/heads/master@{#42939} Committed: https://chromium.googlesource.com/v8/v8/+/39afa5af0682e43a1f1175bc39225168860d556b

Patch Set 1 #

Patch Set 2 : improved test #

Patch Set 3 : updated test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -1 line) Patch
M src/profiler/heap-snapshot-generator.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
A test/inspector/heap-profiler/take-heap-snapshot-on-pause.js View 1 1 chunk +24 lines, -0 lines 0 comments Download
A test/inspector/heap-profiler/take-heap-snapshot-on-pause-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M test/inspector/inspector-test.cc View 4 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 21 (12 generated)
kozy
Ulan and Alexey, please take a look!
3 years, 10 months ago (2017-02-03 03:19:27 UTC) #2
ulan
lgtm!
3 years, 10 months ago (2017-02-03 03:21:52 UTC) #3
alph
Great! Thank you and Ulan for digging into it. There's a bug about it, https://bugs.chromium.org/p/chromium/issues/detail?id=661223 ...
3 years, 10 months ago (2017-02-03 22:54:01 UTC) #4
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/2669393002/20001
3 years, 10 months ago (2017-02-03 23:49:06 UTC) #8
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/20422) v8_linux64_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-04 00:13:13 UTC) #10
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/2669393002/20001
3 years, 10 months ago (2017-02-04 00:17:13 UTC) #12
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/20427) v8_linux64_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-04 00:36:32 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/2669393002/60001
3 years, 10 months ago (2017-02-04 00:49:41 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-04 01:22:05 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/39afa5af0682e43a1f1175bc39225168860...

Powered by Google App Engine
This is Rietveld 408576698