Ulan,
Thanks for the detailed answer.
I have a question on the caveats you listed:
>> "*if the heap limit is extended by small number, then the application
may still crash with OOM. For example, if the application wants to allocate
10MB, but the limit is extended by 5MB*." <<
Question 1: In
Basically I want to:
v8::Script::Run
v8::Script::Compile
--
--
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 receivi
Yes, the examples are horribly written and hard to understand.
And I don't believe any of them covered this:
// get the function
v8::Local global = context->Global();
v8::Local function_value1 =
global->Get(v8::String::NewFromUtf8(isolate, "StartNamespace"));
v8::Local a = v8::Local::Cast(funct
On Wed, Jun 6, 2018 at 11:42 AM, Joe Smack wrote:
> Let's say you compile and run code:
>
> var StartNamespace =
> {
> cppTalkTo: function () {
> // some code
> }
> };
> StartNamespace.init();
>
> After you compile and run the above code how could you call cppTalkTo from
> C++? What
Let's say you compile and run code:
var StartNamespace =
{
cppTalkTo: function () {
// some code
}
};
StartNamespace.init();
After you compile and run the above code how could you call cppTalkTo from
C++? Whats the C++ functions for that?
Basically I want to:
v8::Script::Run
v8:
Hi Prakash,
I added the AddNearHeapLimitCallback API. The provided callback is invoked
when V8's heap is close to the heap limit specified by the
ResourceConstraints::max_old_space_size during V8 setup.
If the callback extends the heap limit by returning a number greater then
the provided current