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

Issue 2869683004: [arm] Share constant pool entries in snapshot. (Closed)

Created:
3 years, 7 months ago by georgia.kouveli
Modified:
3 years, 6 months ago
CC:
Hannes Payer (out of office), rmcilroy, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[arm] Share constant pool entries in snapshot. This patch also adds sharing of code target entries, which requires sharing the RelocInfo for those entries as well. The disassembler is also modified in order to print comments for the RelocInfo that is now shared. This improves the snapshot size for arm by about 4%. BUG= Review-Url: https://codereview.chromium.org/2869683004 Cr-Commit-Position: refs/heads/master@{#45497} Committed: https://chromium.googlesource.com/v8/v8/+/c15b3ffc773ef7b14655b59b1ce1437de903fdc0

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment where I added CanonicalHandleScope. #

Patch Set 3 : Update tools/v8heapconst.py #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -154 lines) Patch
M src/arm/assembler-arm.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 2 11 chunks +76 lines, -51 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/assembler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/setup-builtins-internal.cc View 1 4 chunks +12 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/disassembler.cc View 2 chunks +111 lines, -86 lines 1 comment Download
M src/heap/heap.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/setup-interpreter-internal.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/v8heapconst.py View 1 2 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 40 (18 generated)
georgia.kouveli
3 years, 7 months ago (2017-05-09 11:42:28 UTC) #2
georgia.kouveli
Any comments?
3 years, 7 months ago (2017-05-15 09:57:47 UTC) #3
Benedikt Meurer
3 years, 7 months ago (2017-05-15 09:58:44 UTC) #5
mvstanton
LGTM, thanks!
3 years, 7 months ago (2017-05-15 12:09:37 UTC) #6
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/2869683004/1
3 years, 7 months ago (2017-05-15 12:33:33 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/41043)
3 years, 7 months ago (2017-05-15 12:39:22 UTC) #10
georgia.kouveli
On 2017/05/15 12:39:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-15 19:03:44 UTC) #13
rmcilroy
https://codereview.chromium.org/2869683004/diff/1/src/interpreter/setup-interpreter-internal.cc File src/interpreter/setup-interpreter-internal.cc (right): https://codereview.chromium.org/2869683004/diff/1/src/interpreter/setup-interpreter-internal.cc#newcode21 src/interpreter/setup-interpreter-internal.cc:21: CanonicalHandleScope canonical(interpreter->isolate_); Why is this needed? Could you add ...
3 years, 7 months ago (2017-05-16 09:04:05 UTC) #14
georgia.kouveli
On 2017/05/16 09:04:05, rmcilroy wrote: > https://codereview.chromium.org/2869683004/diff/1/src/interpreter/setup-interpreter-internal.cc > File src/interpreter/setup-interpreter-internal.cc (right): > > https://codereview.chromium.org/2869683004/diff/1/src/interpreter/setup-interpreter-internal.cc#newcode21 > ...
3 years, 7 months ago (2017-05-16 12:22:03 UTC) #15
rmcilroy
Thanks for the explanation (and comment). interpreter/ LGTM.
3 years, 7 months ago (2017-05-16 12:52:42 UTC) #16
rmcilroy
Thanks for the explanation (and comment). interpreter/ LGTM.
3 years, 7 months ago (2017-05-16 12:52:44 UTC) #17
Hannes Payer (out of office)
heap lgtm
3 years, 7 months ago (2017-05-17 12:56: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/2869683004/20001
3 years, 7 months ago (2017-05-17 13:17:56 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/22376) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 7 months ago (2017-05-17 14:14:33 UTC) #23
georgia.kouveli
On 2017/05/17 14:14:33, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-18 10:41:35 UTC) #24
georgia.kouveli
Ping! Does the tools/v8heapconst.py change look ok?
3 years, 7 months ago (2017-05-23 14:47:58 UTC) #29
Benedikt Meurer
LGTM! Sorry for the delay.
3 years, 7 months ago (2017-05-23 17:57:10 UTC) #30
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/2869683004/40001
3 years, 7 months ago (2017-05-23 17:58:00 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/c15b3ffc773ef7b14655b59b1ce1437de903fdc0
3 years, 7 months ago (2017-05-23 18:30:41 UTC) #36
Clemens Hammacher
https://codereview.chromium.org/2869683004/diff/40001/src/disassembler.cc File src/disassembler.cc (right): https://codereview.chromium.org/2869683004/diff/40001/src/disassembler.cc#newcode268 src/disassembler.cc:268: RelocIterator* it = new RelocIterator(converter.code()); This causes a memory ...
3 years, 7 months ago (2017-05-24 10:47:36 UTC) #38
Michael Starzinger
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2912063002/ by mstarzinger@chromium.org. ...
3 years, 6 months ago (2017-05-30 10:47:40 UTC) #39
Michael Starzinger
3 years, 6 months ago (2017-05-30 11:07:39 UTC) #40
Message was sent while issue was closed.
On 2017/05/30 10:47:40, Michael Starzinger wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.chromium.org/2912063002/ by
mailto:mstarzinger@chromium.org.
> 
> The reason for reverting is: Breaks OSR in full-codegen because the constant
> pool entry being patched is shared accross different OSR points. This is
tracked
> by: https://bugs.chromium.org/p/chromium/issues/detail?id=725743.

Revert doesn't apply cleanly anymore. :(

Powered by Google App Engine
This is Rietveld 408576698