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

Issue 2619353006: Refactor FrameSummary for JS and Wasm frames (Closed)

Created:
3 years, 11 months ago by Clemens Hammacher
Modified:
3 years, 11 months ago
Reviewers:
titzer, Yang
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Refactor FrameSummary for JS and Wasm frames Wasm frames can be either compiled or interpreted. For interpreted wasm frames, there is only one physical stack frame representing an arbitrary stack of interpreted functions. Hence the physical stack frame needs to provide a summary of the underlying functions. Summaries were tailored for JavaScript frames before. Now they are universal. The refactored FrameSummaries are now also used in the FrameInspector, and from the StackFrame objects themselves, to avoid code duplication. All dispatch is implemented "manually", making the FrameSummary still stack-allocatable. BUG=v8:5822 R=yangguo@chromium.org, titzer@chromium.org Review-Url: https://codereview.chromium.org/2619353006 Cr-Commit-Position: refs/heads/master@{#42279} Committed: https://chromium.googlesource.com/v8/v8/+/df5417ae7640de40e2342ad0c16a64f4138279bc

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -212 lines) Patch
M src/debug/debug.cc View 1 2 5 chunks +9 lines, -12 lines 0 comments Download
M src/debug/debug-frames.h View 3 chunks +4 lines, -4 lines 0 comments Download
M src/debug/debug-frames.cc View 1 2 5 chunks +17 lines, -26 lines 0 comments Download
M src/frames.h View 1 2 2 chunks +143 lines, -18 lines 0 comments Download
M src/frames.cc View 1 2 9 chunks +182 lines, -53 lines 0 comments Download
M src/frames-inl.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M src/isolate.cc View 1 9 chunks +50 lines, -53 lines 0 comments Download
M src/list.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 8 chunks +18 lines, -38 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-objects.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-10 15:19:01 UTC) #5
Yang
lgtm https://codereview.chromium.org/2619353006/diff/20001/src/debug/debug-frames.cc File src/debug/debug-frames.cc (right): https://codereview.chromium.org/2619353006/diff/20001/src/debug/debug-frames.cc#newcode15 src/debug/debug-frames.cc:15: FrameSummary GetFrameSummary(StandardFrame* frame, int index) { This is ...
3 years, 11 months ago (2017-01-12 14:19:45 UTC) #10
Clemens Hammacher
https://codereview.chromium.org/2619353006/diff/20001/src/debug/debug-frames.cc File src/debug/debug-frames.cc (right): https://codereview.chromium.org/2619353006/diff/20001/src/debug/debug-frames.cc#newcode15 src/debug/debug-frames.cc:15: FrameSummary GetFrameSummary(StandardFrame* frame, int index) { On 2017/01/12 at ...
3 years, 11 months ago (2017-01-12 14:55:07 UTC) #12
titzer
lgtm
3 years, 11 months ago (2017-01-12 15:00:16 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/2619353006/40001
3 years, 11 months ago (2017-01-12 16:51:52 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 16:54:36 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/df5417ae7640de40e2342ad0c16a64f4138...

Powered by Google App Engine
This is Rietveld 408576698