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

Issue 1667693002: [interpreter] do not serialize bytecode for snapshot. (Closed)

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

Description

[interpreter] do not serialize bytecode for snapshot. Code compiled during snapshot are overwhelmingly for functions that are only used for bootstrapping. It makes no sense to include them in the startup snapshot, which bloats up the snapshot size and slows down deserialization. Snapshot sizes for comparison, for ia32: w/o --ignition: 484k w/ --ignition: 537k bytecode removed: 489k R=rmcilroy@chromium.org,mstarzinger@chromium.org Committed: https://crrev.com/34645da5b91ba371aea6e31ffc6db93b01344d45 Cr-Commit-Position: refs/heads/master@{#33734}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix #

Patch Set 3 : fix assertion for --always-opt #

Patch Set 4 : turn off flag #

Patch Set 5 : turn off flag #

Patch Set 6 : fix heap snapshot tests #

Patch Set 7 : turn flag off #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -19 lines) Patch
M src/heap/heap.h View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-compiler.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/snapshot/serialize.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/snapshot/serialize.cc View 1 2 3 4 5 4 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
Yang
4 years, 10 months ago (2016-02-03 11:27:53 UTC) #1
rmcilroy
lgtm for now (although we should consider replacing the natives_blob of JS source with pre-compiled ...
4 years, 10 months ago (2016-02-03 12:07:15 UTC) #3
Michael Starzinger
LGTM with one suggestion. https://codereview.chromium.org/1667693002/diff/1/src/snapshot/serialize.cc File src/snapshot/serialize.cc (right): https://codereview.chromium.org/1667693002/diff/1/src/snapshot/serialize.cc#newcode1707 src/snapshot/serialize.cc:1707: obj == builtins->builtin(Builtins::kInterpreterEntryTrampoline)) { nit: ...
4 years, 10 months ago (2016-02-03 12:39:26 UTC) #4
Yang
On 2016/02/03 12:07:15, rmcilroy wrote: > lgtm for now (although we should consider replacing the ...
4 years, 10 months ago (2016-02-03 12:40:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667693002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667693002/1
4 years, 10 months ago (2016-02-03 12:40:28 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/9552)
4 years, 10 months ago (2016-02-03 12:53:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667693002/20001
4 years, 10 months ago (2016-02-04 09:05:34 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/897) v8_linux_dbg_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 10 months ago (2016-02-04 09:30:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667693002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667693002/80001
4 years, 10 months ago (2016-02-04 10:09:00 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/903) v8_linux_dbg_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 10 months ago (2016-02-04 10:49:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667693002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667693002/100001
4 years, 10 months ago (2016-02-04 13:06:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667693002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667693002/120001
4 years, 10 months ago (2016-02-04 13:08:07 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-04 13:49:34 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 13:50:01 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/34645da5b91ba371aea6e31ffc6db93b01344d45
Cr-Commit-Position: refs/heads/master@{#33734}

Powered by Google App Engine
This is Rietveld 408576698