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

Issue 2583693003: [Ignition] Teach CompileLazy about interpreted functions. (Closed)

Created:
4 years ago by rmcilroy
Modified:
3 years, 11 months ago
Reviewers:
mvstanton
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Ignition] Teach CompileLazy about interpreted functions. Currently the CompileLazy builtin checks the SFI expliciltly for FCG code. This means if the SFI has bytecode we have to go through to the runtime to install the interpreter entry trampoline into the JSFunction object. Modify the builtin to always put the SFI code object into the JSFunction unless it's the lazy compile stub on the SFI as well. BUG=v8:4380 Review-Url: https://codereview.chromium.org/2583693003 Cr-Commit-Position: refs/heads/master@{#42034} Committed: https://chromium.googlesource.com/v8/v8/+/72c370767226cf573d316655b1d3e3d3d699cc9b

Patch Set 1 #

Patch Set 2 : Add ports #

Patch Set 3 : Rebase #

Patch Set 4 : Fix ia32 #

Patch Set 5 : Fix arm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -36 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (23 generated)
rmcilroy
Michael, without this change we were ending up spending more time in CompileLazy runtime function ...
4 years ago (2016-12-16 08:23:45 UTC) #3
mvstanton
That looks good - upload the ports and I'll have a second look! :)
4 years ago (2016-12-16 09:38:05 UTC) #4
rmcilroy
On 2016/12/16 09:38:05, mvstanton wrote: > That looks good - upload the ports and I'll ...
4 years ago (2016-12-16 23:49:51 UTC) #7
mvstanton
It looks like you have a corner-case kind of issue. But the approach is sound: ...
4 years ago (2016-12-20 10:55:38 UTC) #18
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/2583693003/100001
3 years, 11 months ago (2017-01-03 14:54:03 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 15:18:31 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/72c370767226cf573d316655b1d3e3d3d69...

Powered by Google App Engine
This is Rietveld 408576698