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

Issue 2448933002: [compiler] Make SFI "optimize" flag a "tier up" flag (Closed)

Created:
4 years, 1 month ago by Leszek Swirski
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Make SFI "optimize" flag a "tier up" flag Reuses (and renames) the SFI "mark for optimization" flag to also permit marking for baseline recompilation. The flag now represents a "tier up" request, and CompileLazy can get baseline code as well as optimized code. BUG=v8:5512 Committed: https://crrev.com/a5ed05aa8b38a57f9c51f76faf938e053fa6d9a8 Cr-Commit-Position: refs/heads/master@{#40612}

Patch Set 1 #

Patch Set 2 : Fix build #

Patch Set 3 : Fix build #

Patch Set 4 : Kick bots to read the new dependent patchset #

Patch Set 5 : Clear tier-up bit when functions are compiled #

Patch Set 6 : Rebase #

Total comments: 13

Patch Set 7 : Do some renaming and remove a DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -86 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 3 4 5 6 1 chunk +4 lines, -7 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 5 6 1 chunk +4 lines, -5 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 4 5 6 1 chunk +3 lines, -6 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 4 5 6 1 chunk +5 lines, -7 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 4 5 6 1 chunk +5 lines, -7 lines 0 comments Download
M src/builtins/ppc/builtins-ppc.cc View 1 2 3 4 5 6 1 chunk +4 lines, -6 lines 0 comments Download
M src/builtins/s390/builtins-s390.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 4 5 6 1 chunk +3 lines, -6 lines 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 2 3 4 5 6 1 chunk +3 lines, -6 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 3 chunks +40 lines, -12 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 5 chunks +8 lines, -9 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 3 chunks +11 lines, -6 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 54 (42 generated)
Leszek Swirski
4 years, 1 month ago (2016-10-25 10:26:41 UTC) #9
Michael Achenbach
There seems to be an infra bug on the CQ waiting for v8_linux_rel_ng (that triggered ...
4 years, 1 month ago (2016-10-25 14:02:38 UTC) #27
Michael Achenbach
On 2016/10/25 14:02:38, machenbach (slow) wrote: > There seems to be an infra bug on ...
4 years, 1 month ago (2016-10-25 14:03:08 UTC) #28
Leszek Swirski
On 2016/10/25 14:03:08, machenbach (slow) wrote: > On 2016/10/25 14:02:38, machenbach (slow) wrote: > > ...
4 years, 1 month ago (2016-10-25 14:03:45 UTC) #29
rmcilroy
Overall looks reasonable, but adding Michi since he know's this code better. https://codereview.chromium.org/2448933002/diff/100001/src/builtins/arm/builtins-arm.cc File src/builtins/arm/builtins-arm.cc ...
4 years, 1 month ago (2016-10-26 15:07:59 UTC) #43
rmcilroy
Overall looks reasonable, but adding Michi since he know's this code better.
4 years, 1 month ago (2016-10-26 15:08:03 UTC) #44
Michael Starzinger
LGTM from my end with one comment. https://codereview.chromium.org/2448933002/diff/100001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/2448933002/diff/100001/src/compiler.cc#newcode988 src/compiler.cc:988: DCHECK(function->shared()->is_compiled()); Can ...
4 years, 1 month ago (2016-10-27 09:29:59 UTC) #45
Michael Starzinger
https://codereview.chromium.org/2448933002/diff/100001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/2448933002/diff/100001/src/compiler.cc#newcode988 src/compiler.cc:988: DCHECK(function->shared()->is_compiled()); On 2016/10/27 09:29:59, Michael Starzinger wrote: > Can ...
4 years, 1 month ago (2016-10-27 09:32:22 UTC) #46
Leszek Swirski
Thanks both, comments addressed. https://codereview.chromium.org/2448933002/diff/100001/src/builtins/arm/builtins-arm.cc File src/builtins/arm/builtins-arm.cc (right): https://codereview.chromium.org/2448933002/diff/100001/src/builtins/arm/builtins-arm.cc#newcode1485 src/builtins/arm/builtins-arm.cc:1485: // Is the shared function ...
4 years, 1 month ago (2016-10-27 09:40:21 UTC) #47
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/2448933002/120001
4 years, 1 month ago (2016-10-27 09:40:45 UTC) #50
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-10-27 10:08:03 UTC) #52
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:15:08 UTC) #54
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a5ed05aa8b38a57f9c51f76faf938e053fa6d9a8
Cr-Commit-Position: refs/heads/master@{#40612}

Powered by Google App Engine
This is Rietveld 408576698