[v8-users] Re: [v8-team] Re: Need help to support [LenientThis] extended attribute

2015-06-05 Thread Yuki Shiino
Okay, let us go with the CL. Thanks for the reply. Cheers, Yuki Shiino 2015-06-05 17:36 GMT+09:00 Jochen Eisinger joc...@chromium.org: The CL you wrote is the way to go. The bindings also have to type check all incoming arguments, so I don't see that there's a special new security risk.

Re: [v8-users] Function templates and object templates in custom start-up snapshot.

2015-06-05 Thread Jane Chen
Thanks Ben. I did cache my global template through a persistent handle which has a bunch of function templates and object templates set. The existence for the function templates is to support instanceof operator on our core value types (which you helped me with). I understand why creating

[v8-users] Weak callback never gets called even under high memory pressure

2015-06-05 Thread vroad
Multiple posts on this forum says that WeakCallback may not be invoked, so don't rely on that, but I think that WeakCallback should be invoked before I get Out of memory error. Is this incorrect? I've never seen this function working. It just doesn't work no matter what I try, like allocating

Re: [v8-users] Weak callback never gets called even under high memory pressure

2015-06-05 Thread vroad
Weak persistents were not referenced by other objects, but none of them seemed to be reclaimed. Will they be really reclaimed after running the app for hours? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because

[v8-users] How to propertly define a C++ finalizer for a JS object?

2015-06-05 Thread Vinícius dos Santos Oliveira
The internet is full of outdated examples and by constantly breaking API, v8 took of my luck to find a correct example. -- Vinícius dos Santos Oliveira https://about.me/vinipsmaker -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received

Re: [v8-users] Weak callback never gets called even under high memory pressure

2015-06-05 Thread Ben Noordhuis
On Fri, Jun 5, 2015 at 10:53 AM, vroad xvr...@gmail.com wrote: Multiple posts on this forum says that WeakCallback may not be invoked, so don't rely on that, but I think that WeakCallback should be invoked before I get Out of memory error. Is this incorrect? I've never seen this function