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

Issue 1971683002: [debugger] Refactor LiveEdit function info collection (Closed)

Created:
4 years, 7 months ago by jgruber1
Modified:
4 years, 7 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] Refactor LiveEdit function info collection This moves collection of function information from its previous spot in the standard compiler pipeline (GetSharedFunctionInfo() and CompileTopLevel()) to its new location in CompileForLiveEdit. Nesting information is reconstructed by traversing the AST. R=yangguo@chromium.org BUG= Committed: https://crrev.com/5bf3699221b8d38b4ea153def5d799e5725a8e7f Cr-Commit-Position: refs/heads/master@{#36306}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Scrap isolate->active_function_info_listener(), refactoring #

Total comments: 2

Patch Set 3 : Return MaybeHandle from CompileForLiveEdit #

Total comments: 1

Patch Set 4 : Keep infos as MaybeHandle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -151 lines) Patch
M src/compiler.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 6 chunks +10 lines, -14 lines 0 comments Download
M src/debug/liveedit.h View 1 1 chunk +24 lines, -10 lines 0 comments Download
M src/debug/liveedit.cc View 1 2 3 5 chunks +94 lines, -123 lines 0 comments Download
M src/isolate.h View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
jgruber1
4 years, 7 months ago (2016-05-11 06:41:49 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971683002/1
4 years, 7 months ago (2016-05-11 06:48:00 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-05-11 06:48:02 UTC) #5
Yang
Looking good so far. Some comments. https://codereview.chromium.org/1971683002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1971683002/diff/1/src/compiler.cc#newcode1256 src/compiler.cc:1256: LiveEditFunctionTracker::Collect(script, &parse_info, isolate); ...
4 years, 7 months ago (2016-05-11 07:29:10 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971683002/20001
4 years, 7 months ago (2016-05-12 11:16:53 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/17552) v8_linux64_avx2_rel_ng on ...
4 years, 7 months ago (2016-05-12 11:19:26 UTC) #10
jgruber1
PTAL https://codereview.chromium.org/1971683002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1971683002/diff/1/src/compiler.cc#newcode1256 src/compiler.cc:1256: LiveEditFunctionTracker::Collect(script, &parse_info, isolate); On 2016/05/11 07:29:09, Yang wrote: ...
4 years, 7 months ago (2016-05-12 12:30:25 UTC) #11
Yang
https://codereview.chromium.org/1971683002/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1971683002/diff/20001/src/compiler.cc#newcode1239 src/compiler.cc:1239: Handle<JSArray>* infos) { Let's return a MaybeHandle<JSArray>. If compilation ...
4 years, 7 months ago (2016-05-13 07:53:31 UTC) #12
jgruber1
https://codereview.chromium.org/1971683002/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1971683002/diff/20001/src/compiler.cc#newcode1239 src/compiler.cc:1239: Handle<JSArray>* infos) { On 2016/05/13 07:53:30, Yang wrote: > ...
4 years, 7 months ago (2016-05-13 08:31:49 UTC) #13
Yang
LGTM. https://codereview.chromium.org/1971683002/diff/40001/src/debug/liveedit.cc File src/debug/liveedit.cc (right): https://codereview.chromium.org/1971683002/diff/40001/src/debug/liveedit.cc#newcode738 src/debug/liveedit.cc:738: Compiler::CompileForLiveEdit(script).ToHandle(&infos); Or we could just keep infos as ...
4 years, 7 months ago (2016-05-13 08:50:26 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971683002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971683002/40001
4 years, 7 months ago (2016-05-17 15:41:37 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 16:14:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971683002/60001
4 years, 7 months ago (2016-05-18 06:39:47 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-18 07:09:44 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 07:10:29 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5bf3699221b8d38b4ea153def5d799e5725a8e7f
Cr-Commit-Position: refs/heads/master@{#36306}

Powered by Google App Engine
This is Rietveld 408576698