[v8-users] Re: running a script...

2014-01-25 Thread Niklas Voss
I am myself fairly new to V8, but your handles are dependent on your HandleScope, so when scriptCompile finishes your handles get out of scope and will be cleaned up by the garbage collector. To ensure the lifetime of your handles you could use Persistent handles instead. On Friday, 24

Re: [v8-users] Multithreading and extension registration

2014-01-23 Thread Niklas Voss
:09:41 UTC, Sven Panne wrote: On Mon, Jan 20, 2014 at 2:55 PM, Niklas Voss nikla...@gmail.comjavascript: wrote: [...] If the program is executed I get the following error: # # Fatal error in CALL_AND_RETRY # Allocation failed - process out of memory # The problem is most likely related

Re: [v8-users] Multithreading and extension registration

2014-01-23 Thread Niklas Voss
Messed isolates/isotopes up again... I mean isolates of course... On Thursday, 23 January 2014 22:55:24 UTC, Niklas Voss wrote: Thanks, I was able to resolve all issues. Unfortunately I ran into the next issue. I am trying to implement communication between isolates: First I get

Re: [v8-users] Multithreading and extension registration

2014-01-20 Thread Niklas Voss
Thanks a lot for your elaborate answers, they cleared everything up! After changing the string the extension is registered with, everything works fine, but I'll use Script::New from now. On Monday, 20 January 2014 09:18:07 UTC, Sven Panne wrote: One thing I forgot in my previous email: We

[v8-users] Multithreading and extension registration

2014-01-17 Thread Niklas Voss
and object template between multiple threads and isotopes (avoid the reconstruction)? Thanking you in anticipation, Niklas Voss P.S. Any help or links to relevant articles are very much appreciated. Also if you need more information let me know! [1] https://github.com/Neverlord/libcppa [2] https