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

Issue 1805903002: [serializer] Add API to warm up startup snapshot with an additional script. (Closed)

Created:
4 years, 9 months ago by Yang
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan, Yang, Paweł Hajdan Jr., jayconrod
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[serializer] Add API to warm up startup snapshot with an additional script. A startup snapshot is considered cold when it does not contain any function code. We can now create a warm startup snapshot from a cold one by running a warm-up script. Functions exercised by the warm-up script are compiled and its code included in the warm startup snapshot. Side effects caused by the warm-up script does not persist. R=vogelheim@chromium.org BUG=v8:4836 LOG=Y Committed: https://crrev.com/f507bc1c7242d338b04d6bba5ea78cbb42cf0e13 Cr-Commit-Position: refs/heads/master@{#34849}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -125 lines) Patch
M Makefile View 1 chunk +3 lines, -0 lines 0 comments Download
M include/v8.h View 1 chunk +15 lines, -3 lines 0 comments Download
M src/api.cc View 1 4 chunks +130 lines, -63 lines 0 comments Download
M src/globals.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 chunks +5 lines, -9 lines 0 comments Download
M src/isolate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/deserializer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/snapshot/mksnapshot.cc View 3 chunks +17 lines, -7 lines 0 comments Download
M src/snapshot/partial-serializer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/partial-serializer.cc View 2 chunks +8 lines, -13 lines 0 comments Download
M src/snapshot/serializer-common.cc View 1 chunk +7 lines, -11 lines 0 comments Download
M src/snapshot/startup-serializer.h View 2 chunks +6 lines, -1 line 0 comments Download
M src/snapshot/startup-serializer.cc View 4 chunks +13 lines, -15 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 1 chunk +70 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 9 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
Yang
Daniel, please take a look. Ulan, please review src/heap. Jay, FYI.
4 years, 9 months ago (2016-03-16 12:17:57 UTC) #2
vogelheim
lgtm Nice. I like the tests in test-serialize. The shell param thing is a nitpick; ...
4 years, 9 months ago (2016-03-16 14:52:36 UTC) #3
Yang
https://codereview.chromium.org/1805903002/diff/1/test/cctest/test-serialize.cc File test/cctest/test-serialize.cc (right): https://codereview.chromium.org/1805903002/diff/1/test/cctest/test-serialize.cc#newcode804 test/cctest/test-serialize.cc:804: CHECK(CompileRun("Math.sin")->IsFunction()); On 2016/03/16 14:52:36, vogelheim wrote: > Just for ...
4 years, 9 months ago (2016-03-16 15:05:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805903002/1
4 years, 9 months ago (2016-03-16 15:06:37 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/12452)
4 years, 9 months ago (2016-03-16 15:40:27 UTC) #8
Hannes Payer (out of office)
heap lgtm
4 years, 9 months ago (2016-03-17 09:21:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805903002/20001
4 years, 9 months ago (2016-03-17 09:58:48 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-17 10:32:43 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 10:34:23 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f507bc1c7242d338b04d6bba5ea78cbb42cf0e13
Cr-Commit-Position: refs/heads/master@{#34849}

Powered by Google App Engine
This is Rietveld 408576698