PSA: We'd like to enable v8_use_external_startup_data for default V8 builds
soon-ish. Like, end of the week.
This only switches the default; the old behaviour continuous to be
available.


What will change?

If you build/link V8 with your own project:
 - You may want to update your build config to explicitly set
v8_use_external_startup_data to what you want it to be. If it's 0,
everything will stay as it is now.

If you build & use d8, cctest, unittests:
By default, everything should work as it used to. If you copy your d8
binary outside of the tree or call a specific d8 instance via PATH, then
you will need to
  - either copy the startup data files to the right location,
  - or use --natives_blob= and --snapshot_blob= to tell d8 where those
files are.
  - or - as said above - build with  v8_use_external_startup_data=0


What if you don't like it?
- Change the default in your config back to v8_use_external_startup_data=0.
  (We intend to preserve the ability to statically link in the snapshot.
Just not as default.)
- If that's not good enough, please complain right now so that we can
reconsider.


Background info & why we're changing this:
V8's startup data (the built-in libraries + a pre-compiled snapshot of
them) is statically linked into the executable. For some embedders binary
size is important, so this is not a universally good solution. To
accommodate such embedders, the build option v8_use_external_startup_data
was introduced, which puts the startup data into separate files. Our
largest embedder - Chromium - has been using this on most platforms.

In the past we had several build breakages related to this feature,
ultimately because the build config used by devs + the v8 waterfall doesn't
match what embedders use, and hence the problems were found only very late.
To prevent this, we would like to mirror the use by our largest embedder
for our default config.


Daniel

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to