I've tried the command like this:
./mksnapshot native.js native.js --startup_blob=native.js.bin 
--turbo_instruction_scheduling
but failed:

> Loading script for embedding: native.js
> Loading script for warm up: native.js
>
> #
> # Fatal error in , line 0
> # Check failed: blob.data.
> #
> #
> #
> #FailureMessage Object: 0x7fff215367a0
> ==== C stack trace ===============================
>     
> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libbase.cr.so(v8::base::debug::StackTrace::StackTrace()+0x13)
>  
> [0x7f2f32f60123]
>     
> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libplatform.cr.so(+0xd07d)
>  
> [0x7f2f32f3807d]
>     
> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libbase.cr.so(V8_Fatal(char
>  
> const*, ...)+0x150) [0x7f2f32f5a2e0]
>     ./mksnapshot(+0x3fecbd) [0x55ebe4d9bcbd]
>     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
> [0x7f2f31c0f830]
>     ./mksnapshot(_start+0x2a) [0x55ebe4d993ba]
> Illegal instruction (core dumped)



在 2020年4月26日星期日 UTC+8下午4:05:26,Ben Noordhuis写道:
>
> On Sun, Apr 26, 2020 at 9:15 AM Chris Chen <chenqy...@gmail.com 
> <javascript:>> wrote: 
> > 
> > Hi, all, 
> > 
> > When using "./clang_x64_v8_arm64/mksnapshot $JS_FILE 
> --startup_blob=$BIN_FILE --turbo_instruction_scheduling",  seemed it only 
> do "Loading script for embedding: xxx", but not include "Loading script for 
> warm up: xxx ". 
> > 
> > Is there a  way to generate a warm-up snapshot using mksnapshot? 
>
> Yes, just pass an additional filename. The first one is used for 
> embedding, the second one for warm-up. 
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/cfca6b17-e438-4474-b04d-47214b6a2117%40googlegroups.com.

Reply via email to