I believe turning snapshot off has a performance impact.  So the gyp 
flag  "-Dv8_use_external_startup_data=0" is probably preferable. 

I'm still curious why hello-world and shell are able to pick up the 
external snapshots, but not my embedding application.  Is the need of this 
workaround a bug?

On Monday, October 5, 2015 at 1:21:51 AM UTC-7, Chia-Wen Ho wrote:
>
> I tried to update v8 from 3.25 to 4.5 and got this error. Then I use 
> "snapshot=off".
> My question is: Is the snapshot by default built into the binary in older 
> v8 version (ex. 3.25)? 
> If yes, I should use "-Dv8_use_external_startup_data=0" instead of 
> "snapshot=off" to have the consistent behavior like the old version, right?
> Thanks.
>
> On Sunday, October 4, 2015 at 6:52:33 PM UTC+8, Ben Noordhuis wrote:
>>
>> On Sun, Oct 4, 2015 at 9:28 AM, Jane Chen <jxch...@gmail.com> wrote: 
>> > I managed to get shared library with -Dcomponent=shared_library.  So 
>> now 
>> > just wondering what it means to have v8_use_external_startup_data=0. 
>>
>> It bakes the snapshot blobs into the library.  With 
>> v8_use_external_startup_data=1, you get a couple of *.bin files in 
>> out/ that you need to copy over. 
>>
>

-- 
-- 
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