Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

Update for latest stable version of V8 (4.8) #32

Closed
wants to merge 1 commit into from

Conversation

kib357
Copy link
Contributor

@kib357 kib357 commented Feb 10, 2016

Latest v8 uses own ArrayBufferAllocator per isolate, so i put it in worker_s structure. Also makefile uses 4.8-last_known_good_release version by default. I'm not sure about libv8_nosnapshot.a in build.sh, but it works and tests passes.

@@ -19,7 +19,7 @@ outdir="`pwd`/v8/out/$target"
libv8_base="`find $outdir -name 'libv8_base.a' | head -1`"
libv8_libbase="`find $outdir -name 'libv8_libbase.a' | head -1`"
libv8_libplatform=`find $outdir -name 'libv8_libplatform.a' | head -1`""
libv8_snapshot=`find $outdir -name 'libv8_snapshot.a' | head -1`""
libv8_snapshot=`find $outdir -name 'libv8_nosnapshot.a' | head -1`""
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why nosnapshot?

@ry
Copy link
Owner

ry commented Feb 11, 2016

I'd like v8worker to continue to use snapshots, I see the error you're getting when using snapshots=on ... Let's try to find a fix

@kib357
Copy link
Contributor Author

kib357 commented Feb 11, 2016

Ok, i will try other build options for snapshots, we also having some troubles with slow worker creation.

@ry
Copy link
Owner

ry commented Feb 11, 2016

I think I figured it out, needs "-Dv8_use_external_startup_data=0". Testing a modified patch now, will land shortly

@ry ry closed this in 0e86392 Feb 11, 2016
@ry
Copy link
Owner

ry commented Feb 11, 2016

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants