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

Issue 1528913003: [Interpreter] Add basic deoptimization support from TurboFan to Ignition. (Closed)

Created:
5 years ago by rmcilroy
Modified:
5 years ago
Reviewers:
v8-mips-ports, Jarin
CC:
v8-reviews_googlegroups.com, oth, Michael Starzinger
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_deopt_1
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add basic deoptimization support from TurboFan to Ignition. Adds support for generating deoptimization translations for interpreter stack frames, and building interpreter frames for these translations when a function deopts. Also adds builtins for InterpreterNotifyDeoptimized which resume the function's continuation at the correct point in the interpreter after deopt. MIPS patch contributed by balazs.kilvady@igmtec.com BUG=v8:4280 LOG=N TEST=test-deoptimization.cc with --ignition and --turbo Committed: https://crrev.com/b10d24ff2c685835e203075de4f11e12cd3d33cc Cr-Commit-Position: refs/heads/master@{#32971}

Patch Set 1 #

Patch Set 2 : Add basic support to OptimizedFrame::Summarize() for interpreted_frame deopt data. #

Total comments: 16

Patch Set 3 : Address review comments and port to ia32, Arm, Arm64 #

Patch Set 4 : Add missed comment #

Total comments: 2

Patch Set 5 : Add MIPS port and fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+963 lines, -111 lines) Patch
M src/arm/builtins-arm.cc View 1 2 1 chunk +87 lines, -0 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
M src/builtins.h View 1 2 2 chunks +93 lines, -87 lines 0 comments Download
M src/compiler/code-generator.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/deoptimizer.h View 1 2 6 chunks +10 lines, -1 line 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 13 chunks +285 lines, -5 lines 0 comments Download
M src/frames.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/frames.cc View 1 2 3 5 chunks +27 lines, -16 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 2 chunks +85 lines, -1 line 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 1 chunk +88 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (9 generated)
rmcilroy
Jarin@ please take a look. With this change (and Orion's in-flight control-flow bytecode-graph builder CL ...
5 years ago (2015-12-16 14:30:46 UTC) #2
Jarin
Just a bunch of small comments, lgtm otherwise. It is a shame that we need ...
5 years ago (2015-12-17 13:35:09 UTC) #3
rmcilroy
Feedback addressed and ported to ia32, Arm and Arm64. +mips-ports: could you port to Mips ...
5 years ago (2015-12-17 23:49:54 UTC) #5
Jarin
lgtm with a small nit (+ the mips ports, obviously). https://codereview.chromium.org/1528913003/diff/20001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1528913003/diff/20001/src/deoptimizer.cc#newcode2000 ...
5 years ago (2015-12-18 08:58:21 UTC) #6
rmcilroy
https://codereview.chromium.org/1528913003/diff/20001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1528913003/diff/20001/src/deoptimizer.cc#newcode2000 src/deoptimizer.cc:2000: unsigned fixed_size = ComputeFixedSize(function_, type); On 2015/12/18 08:58:21, Jarin ...
5 years ago (2015-12-18 15:18:11 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1528913003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1528913003/80001
5 years ago (2015-12-18 16:07:45 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-18 16:37:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1528913003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1528913003/80001
5 years ago (2015-12-18 16:37:54 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-18 18:34:25 UTC) #17
commit-bot: I haz the power
5 years ago (2015-12-18 18:35:11 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b10d24ff2c685835e203075de4f11e12cd3d33cc
Cr-Commit-Position: refs/heads/master@{#32971}

Powered by Google App Engine
This is Rietveld 408576698