[v8-users] Re: How does one schedule a weak handle callback with internal fields?

2018-03-03 Thread Zac Hansen
I still don't understand what the point of this call is under any circumstances when you can get the internal fields out of your object when you get it from the object you get from the kParamter call. On Saturday, March 3, 2018 at 9:02:42 PM UTC-8, A.M. wrote: > > Not much help or

[v8-users] Re: How does one schedule a weak handle callback with internal fields?

2018-03-03 Thread A.M.
Not much help or documentation from Google here. I suppose they expect everybody just to Google it. Anyway, just in case if anyone is interested, here's what's going on here. The method `v8::internal::GlobalHandles::Node::CollectPhantomCallbackData` packs internal fields in this loop: if

Re: [v8-users] Are functions which defined using eval or new Function() optimized?

2018-03-03 Thread Koray
Hello Jakob, Thank you for your response. I will make sure to design my application accordingly. My next question would be, does v8 optimize according to new prototype changes after a while? Or should I restart the application in certain periods to make sure the application is optimized with