Hi,
I am fairly new to V8 and I am trying to build an application with V8. It
results in a crash and I am not sure about the cause of it.
ScavengePointer seems to look like Garbage Collection issue but I am not
sure if that's the real cause.
Can someone please help me out?
Thanks in advance!
I figured out the issue. Answer is in the StackOverflow link. Thanks Ben :)
On Sunday, August 27, 2017 at 10:11:23 AM UTC-7, Kavin Mani wrote:
>
> Here is the Stack Overflow link in which I posted the same question with
> complete code.
>
>
> https://stackoverflow.com/questio
Noordhuis wrote:
>
> On Sun, Aug 27, 2017 at 4:16 PM, Kavin Mani > wrote:
> > I'm calling script->Run(). I have not shown it here. But if you see, I
> am creating a new context in each function after the constructor. I do not
> want to do that and use the same
I'm calling script->Run(). I have not shown it here. But if you see, I am
creating a new context in each function after the constructor. I do not want to
do that and use the same context that I created in my constructor. Can you
please help me how to do that?
--
--
v8-users mailing list
v8-u
Hi,
I am new to V8 and trying to create some bindings between my C++ and JS
code. The issue is that I am not able to access a global Javascript
variable across different Javascript functions. The reason is because each
Javascript function is called my different C++ function. I guess the
proble
I find that the given example program compiles and executes a simple
Javascript program supplied as a string. However, I want to compile a .js
file with multiple functions. How can I do this?
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You
nst int argc = arguments.size();
> std::vector> argv(argc);
> // populate the argv somehow
> function->Call(context, context->Global(), argc, argv.data());
>
> On Fri, Aug 4, 2017 at 4:17 PM, Kavin Mani > wrote:
>
>> Hi,
>>
>> I am new to V8 engine and starting to
Hi,
I am new to V8 engine and starting to experiment things. I am wondering if
it is possible to execute different functions from a Javascript file at
different times.
Consider the following scenario:
I have a Javascript file with a global variable *foo *and two functions
*func1() *and *func2