Reviewers: jochen,
Message:
Committed patchset #2 manually as r21696 (presubmit successful).
Description:
Support external startup data in V8.
[Retry of crrev.com/293993021, which caused problems with 'ninja all' in
Chromium. First patch set if a clean apply
of crrev.com/293993021. Subsequent sets are the actual fix
for that issue.]
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=21696
Please review this at https://codereview.chromium.org/315033002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1013, -257 lines):
M BUILD.gn
M build/features.gypi
M include/v8.h
M src/api.cc
M src/d8.h
M src/d8.cc
M src/flag-definitions.h
M src/heap.cc
M src/mksnapshot.cc
M src/natives.h
A src/natives-external.cc
M src/serialize.h
M src/serialize.cc
M src/snapshot.h
M src/snapshot-common.cc
A src/snapshot-external.cc
A src/snapshot-source-sink.h
A src/snapshot-source-sink.cc
M test/cctest/test-serialize.cc
A + tools/concatenate-files.py
M tools/gyp/v8.gyp
M tools/js2c.py
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.