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

Issue 10574013: Snapshots: Add --extra-code flag to mksnapshot which lets you specify a file (Closed)

Created:
8 years, 6 months ago by Erik Corry
Modified:
8 years, 6 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Snapshots: Add --extra-code flag to mksnapshot which lets you specify a file with more JS code that is loaded into the VM before writing the snapshot. Get rid of the hard coded limit on the partial snapshot cache size. This change disables most of the serializer tests for the snapshot build of the VM: It's getting too complicated to support both booting from a snapshot and then creating a new snapshot from the same VM or loading more code with another snapshot in the same VM. Committed: http://code.google.com/p/v8/source/detail?r=11871

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -141 lines) Patch
M src/flag-definitions.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 3 chunks +5 lines, -1 line 0 comments Download
M src/isolate.cc View 1 6 chunks +33 lines, -3 lines 0 comments Download
M src/mksnapshot.cc View 1 3 chunks +59 lines, -0 lines 0 comments Download
M src/serialize.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/serialize.cc View 6 chunks +33 lines, -50 lines 0 comments Download
M src/snapshot.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/snapshot-common.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 7 chunks +95 lines, -85 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik Corry
8 years, 6 months ago (2012-06-19 06:56:25 UTC) #1
ulan
What is the motivation/background for this CL? Is there an open issue I could read? ...
8 years, 6 months ago (2012-06-19 09:42:15 UTC) #2
Erik Corry
http://codereview.chromium.org/10574013/diff/1/src/isolate.cc File src/isolate.cc (right): http://codereview.chromium.org/10574013/diff/1/src/isolate.cc#newcode1610 src/isolate.cc:1610: for (int i = 0; i < capacity; i++) ...
8 years, 6 months ago (2012-06-19 10:20:46 UTC) #3
ulan
8 years, 6 months ago (2012-06-19 13:13:12 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698