Re: [v8-users] Thread cleanup

2015-10-19 Thread Jakob Kummerow
Yes, that's what I meant. I'd probably choose a more descriptive name, like "DiscardThreadSpecificMetadata()" or somesuch. I'm not the right person to approve/review an API change like this, though, so sending a proposal to v8-dev sounds good. On Mon, Oct 19, 2015 at 5:30 PM, Alex Kodat wrote: >

Re: [v8-users] performance oddities of v8 Arrays

2015-10-19 Thread Jakob Kummerow
On Mon, Oct 19, 2015 at 10:24 PM, Dmitry Orlov wrote: > > On 18 October 2015 at 03:51, Jakob Kummerow > wrote: > >> The fastest way to exchange large amounts of data between C++ and JS is >> probably an externalized >> >> Arra

Re: [v8-users] performance oddities of v8 Arrays

2015-10-19 Thread Dmitry Orlov
On 18 October 2015 at 03:51, Jakob Kummerow wrote: > On Sat, Oct 17, 2015 at 12:20 AM, Dmitry Orlov > wrote: > >> Thanks Jacob! >> >> On 16 October 2015 at 13:56, Jakob Kummerow >> wrote: >> >>> It's not about what the "internal array representation" is, it's about >>> how the array is accessed

Re: [v8-users] Thread cleanup

2015-10-19 Thread Alex Kodat
Fair enough. I now understand that by "unintrusive" you meant "can't cause bugs" -- a very good interpretation. So would you be amenable to something like the following in v8.h (in the Isolate class block): /** * Indicates that the current thread is finished using this isolate. * The is

[v8-users] Disabling inline caching

2015-10-19 Thread Deepak Subramanian
Hi, Is there a way to disable the IC ? Thanks in advance. -- -- 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 rece

Re: [v8-users] --stress-deopt

2015-10-19 Thread Ben Noordhuis
On Mon, Oct 19, 2015 at 4:08 PM, Deepak Subramanian wrote: > What is the purpose of the --stress-deopt flag ? I don't think that flag exists. Do you mean --deopt_every_n_times? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this

Re: [v8-users] Reason of deoptimization

2015-10-19 Thread Ben Noordhuis
On Mon, Oct 19, 2015 at 12:35 PM, Ignacio Queralt wrote: > Hi everybody, > I'm running a program on the d8, and I get the following reason of > deoptimization of a function: > > [deoptimizing (DEOPT soft): begin 0x8e9fc0357b9 (SharedFunctionInfo 0x8e9fc030571)> (opt #4) @62, FP to SP delta: 208]

[v8-users] --stress-deopt

2015-10-19 Thread Deepak Subramanian
Hi, What is the purpose of the --stress-deopt flag ? -- -- 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 receiving

[v8-users] Reason of deoptimization

2015-10-19 Thread Ignacio Queralt
Hi everybody, I'm running a program on the d8, and I get the following reason of deoptimization of a function: [deoptimizing (DEOPT soft): begin 0x8e9fc0357b9 (opt #4) @62, FP to SP delta: 208] ;;; deoptimize at 9761: Insufficient type feedback for generic named access reading i

Re: [v8-users] Thread cleanup

2015-10-19 Thread Jakob Kummerow
Well, there can be N threads acquiring and releasing locks for M isolates in arbitrary sequences. I don't think extending the Locker in any way would be the right approach. If anything, it should be a separate API call with the semantics "I, the embedder, promise that the thread with the id X will

Re: [v8-users] Re: Is it normal for Android devices to take 7 seconds to load 600KB of JavaScript?

2015-10-19 Thread vroad
Actually what I was using is based on open-source framework named lime and OpenFL. I was trying to run an app with nodejs on Android. Ogg loader was reading the same file twice when loading from apk assets, this was taking the most of time. However, when I compiled to C++ instead of JavaScript, t