Hello,

I have a few questions about how to ask V8 to load a particular snapshot 
file I saved before by using mksnapshot.

I saw V8::Snapshot::Initialize(const char* snapshot_file) supports to passa 
snapshot file path, however, there is no APIs in api.cc call it with a path 
- V8::Initialize() only calls Snapshot::Initialize() with no parameter.

So, my first question is how to make my application to ask V8 to load a 
particular snapshot ?

The second question is how to generate a particular snapshot.  mksnapshot 
 my_snapshot.file --extra_code my.js, is it correct? 

Thank you!
Yi

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to