Re: [v8-users] Re: What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
ripts cannot communicate with each other (as the name > "isolate" implies). > > On Wed, Oct 3, 2018 at 6:44 PM Mingwei Zhang > wrote: > >> I realize that I made a mistake. So d8 API does provide support for >> Worker and I suspect developers could use postMessag

[v8-users] Re: What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
to b.js because a.js launches b.js, but in this case, a.js does not even know b.js exists. Thanks. On Wednesday, October 3, 2018 at 11:45:30 AM UTC-7, Mingwei Zhang wrote: > > Hi, > > I am wondering what is the purpose of the options "--isolate" for the > stand-alon

[v8-users] What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
Hi, I am wondering what is the purpose of the options "--isolate" for the stand-alone binary d8. It is pretty interesting that the option '--isolate' could be used to launch multiple JavaScripts and runtime them truly in parallel. However, since JavaScript is single-threaded by design. This

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-09-07 Thread Mingwei Zhang
ae3c7c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f2ae38b5000) /lib64/ld-linux-x86-64.so.2 (0x559dec15b000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f2ae369c000) On Thursday, August 23, 2018 at 9:38:26 PM UTC-7, Mingwei Zhang wrote: > > Well,

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-23 Thread Mingwei Zhang
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f540f451000) Anyway, it is also understandable if V8 developers just want to make d8 a small wrapper binary. Thanks. On Wednesday, August 22, 2018 at 10:16:59 AM UTC-7, Peter Schow wrote: > > On Tue, Aug 21, 2018 at 2:26

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-21 Thread Mingwei Zhang
12:28 PM Mingwei Zhang > wrote: > > > > Hi, > > > > I try to compile V8 5.9.21 and some other version of V8 from source > code. My question is how to make d8 more self contained such that no > dependencies like libv8*.so are required to run the executable? &

[v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-21 Thread Mingwei Zhang
Hi, I try to compile V8 5.9.21 and some other version of V8 from source code. My question is how to make d8 more self contained such that no dependencies like libv8*.so are required to run the executable? Appreciate your help. -Mingwei -- -- v8-users mailing list v8-users@googlegroups.com

Re: [v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-18 Thread Mingwei Zhang
, it does use the option ENABLE_GDB_JIT_INTERFACE. So, then I am very confused why I don't get breakpoint hit in gdb. Appreciate your help. On Monday, June 18, 2018 at 3:20:44 PM UTC-7, Ben Noordhuis wrote: > > On Sun, Jun 17, 2018 at 11:15 PM, Mingwei Zhang > wrote: > > De

[v8-users] __jit_debug_register_code was not invoked in debug build

2018-06-17 Thread Mingwei Zhang
Dear V8 developer, I recently tried to use the debugging interface for gdb on JIT code. When I tried building a debug build of V8 and following the instructions in: https://github.com/v8/v8/wiki/GDB-JIT-Interface I launched my program using the following command: gdb --args ./d8 --gdbjit

[v8-users] What is the memory layout of a code object in V8?

2018-04-19 Thread Mingwei Zhang
Hi, I used gdb with the gdbinit script provided by V8. So I used the command called "jco" with an argument of a JIT code address. So I have two questions listed below: 1) what is the header of each JIT code function? 2) where is the RelocInfo located for each JIT code function? For 1), I