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

Issue 1904093002: [interpreter] Heal closures when bytecode array is gone. (Closed)

Created:
4 years, 8 months ago by Michael Starzinger
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Heal closures when bytecode array is gone. This ensures the InterpreterEntryTrampoline heals code entry fields inside closures when being called without a valid bytecode array. This is preparatory work to allow removal of bytecode when switching some functions to other types of code. R=rmcilroy@chromium.org BUG=v8:4280 LOG=n Committed: https://crrev.com/5c8609de9d597000fdb92dffe954d7ed994488b2 Cr-Commit-Position: refs/heads/master@{#35724}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments. #

Patch Set 3 : Ported to most architectures. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -20 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 chunks +19 lines, -3 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 chunks +19 lines, -3 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 chunks +22 lines, -4 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 chunks +18 lines, -3 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 chunks +18 lines, -3 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 chunks +19 lines, -4 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Michael Starzinger
Starting on ports now, but ready for a first round of comments.
4 years, 8 months ago (2016-04-21 15:09:47 UTC) #1
rmcilroy
Approach looks good, one suggestion. https://codereview.chromium.org/1904093002/diff/1/src/ia32/builtins-ia32.cc File src/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/1904093002/diff/1/src/ia32/builtins-ia32.cc#newcode570 src/ia32/builtins-ia32.cc:570: __ JumpIfSmi(kInterpreterBytecodeArrayRegister, &bytecode_array_not_present); Maybe ...
4 years, 8 months ago (2016-04-21 15:16:02 UTC) #2
Michael Starzinger
Thanks! Addressed comments. Doing ports now. https://codereview.chromium.org/1904093002/diff/1/src/ia32/builtins-ia32.cc File src/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/1904093002/diff/1/src/ia32/builtins-ia32.cc#newcode570 src/ia32/builtins-ia32.cc:570: __ JumpIfSmi(kInterpreterBytecodeArrayRegister, &bytecode_array_not_present); ...
4 years, 8 months ago (2016-04-21 15:43:09 UTC) #3
Michael Starzinger
Ports done. PTAL.
4 years, 8 months ago (2016-04-21 16:32:17 UTC) #5
Benedikt Meurer
LGTM from my side.
4 years, 8 months ago (2016-04-22 10:29:05 UTC) #7
rmcilroy
LGTM++
4 years, 8 months ago (2016-04-22 10:38:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1904093002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1904093002/40001
4 years, 8 months ago (2016-04-22 10:50:24 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-22 11:13:01 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:27 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5c8609de9d597000fdb92dffe954d7ed994488b2
Cr-Commit-Position: refs/heads/master@{#35724}

Powered by Google App Engine
This is Rietveld 408576698