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

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed)

Created:
4 years, 10 months ago by Yang
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, oth, rmcilroy, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter, debugger] support debug breaks via bytecode array copy R=mstarzinger@chromium.org, rmcilroy@chromium.org BUG=v8:4690 LOG=N Committed: https://crrev.com/e032a98d3d1c532716892d2aad0e9d4467acae61 Cr-Commit-Position: refs/heads/master@{#34190}

Patch Set 1 #

Total comments: 21

Patch Set 2 : rebase, fix failure, and adapt test expectations #

Patch Set 3 : address comments and add ports #

Total comments: 1

Patch Set 4 : addressed last comment #

Total comments: 6

Patch Set 5 : addressed comments #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -100 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/debug/debug.h View 1 chunk +1 line, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 11 chunks +57 lines, -31 lines 0 comments Download
M src/debug/debug-frames.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/debug/debug-frames.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M src/factory.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 1 2 4 chunks +23 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 3 chunks +31 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 2 chunks +21 lines, -4 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 5 3 chunks +12 lines, -14 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
A + test/mjsunit/ignition/debug-break.js View 1 chunk +20 lines, -16 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 3 chunks +0 lines, -21 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecodes-unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Yang
4 years, 10 months ago (2016-02-16 09:14:46 UTC) #1
Yang
This is the implementation of what we discussed. I only ported it to ia32 to ...
4 years, 10 months ago (2016-02-16 09:22:21 UTC) #2
rmcilroy
Looks good overall, just a few nits. https://codereview.chromium.org/1703453002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1703453002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode1485 src/compiler/bytecode-graph-builder.cc:1485: void BytecodeGraphBuilder::Visit##Name() ...
4 years, 10 months ago (2016-02-16 10:46:39 UTC) #3
Yang
Addressed comments and added platform ports. https://codereview.chromium.org/1703453002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1703453002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode1485 src/compiler/bytecode-graph-builder.cc:1485: void BytecodeGraphBuilder::Visit##Name() { ...
4 years, 10 months ago (2016-02-19 13:09:18 UTC) #4
rmcilroy
Neat! lgtm with one final comment, thanks. https://codereview.chromium.org/1703453002/diff/40001/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1703453002/diff/40001/src/interpreter/interpreter-assembler.cc#newcode429 src/interpreter/interpreter-assembler.cc:429: if (bytecode_offset ...
4 years, 10 months ago (2016-02-19 14:47:16 UTC) #5
Yang
On 2016/02/19 14:47:16, rmcilroy wrote: > Neat! lgtm with one final comment, thanks. > > ...
4 years, 10 months ago (2016-02-19 15:19:11 UTC) #6
Yang
Michael, do you want to take a look? I need you to at least look ...
4 years, 10 months ago (2016-02-19 15:19:51 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703453002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703453002/60001
4 years, 10 months ago (2016-02-19 15:20:04 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 15:53:50 UTC) #11
Michael Starzinger
LGTM. Nice! Just some minor comments. https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc File src/debug/debug-frames.cc (right): https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc#newcode75 src/debug/debug-frames.cc:75: // TODO(yangguo): Get ...
4 years, 10 months ago (2016-02-22 09:37:49 UTC) #12
Michael Starzinger
LGTM. Nice! Just some minor comments. https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc File src/debug/debug-frames.cc (right): https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc#newcode75 src/debug/debug-frames.cc:75: // TODO(yangguo): Get ...
4 years, 10 months ago (2016-02-22 09:37:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703453002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703453002/100001
4 years, 10 months ago (2016-02-22 12:46:17 UTC) #16
Yang
https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc File src/debug/debug-frames.cc (right): https://codereview.chromium.org/1703453002/diff/60001/src/debug/debug-frames.cc#newcode75 src/debug/debug-frames.cc:75: // TODO(yangguo): Get the bytecode array from the frame. ...
4 years, 10 months ago (2016-02-22 12:48:44 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-22 13:16:52 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 13:17:57 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e032a98d3d1c532716892d2aad0e9d4467acae61
Cr-Commit-Position: refs/heads/master@{#34190}

Powered by Google App Engine
This is Rietveld 408576698