Re: [v8-users] Isolate::GetCurrent() inside a FunctionCallback returns NULL

2016-05-10 Thread Jochen Eisinger
Could you file a bug please, if possible with a complete reproduction case? Thanks Jochen Joris Wijnant schrieb am Mo., 9. Mai 2016, 14:23: > Hi, > > I have the following callback definition. > > void Callback(const v8::FunctionCallbackInfo& info) > { > string

Re: [v8-users] Can jit (recompilation) block the main thread even if concurrent recompilation is on?

2016-05-10 Thread Borislav Stanimirov
The time spent in v8::Script::Compile is not counted in the aforementioned blocks. There is no code being emitted as strings in run time. Does any unoptimized compilation happen in Script::Run in this case? -- Borislav On Tue, May 10, 2016 at 6:32 PM, Jakob Kummerow wrote: >

Re: [v8-users] Can jit (recompilation) block the main thread even if concurrent recompilation is on?

2016-05-10 Thread Jakob Kummerow
FLAG_concurrent_recompilation only affects (parts of) optimized _re_compilation. Initial unoptimized compilation of a function always happens on the main thread. Optimized recompilation also performs parts of its work on the main thread. On Tue, May 10, 2016 at 6:21 PM, Borislav Stanimirov

[v8-users] Can jit (recompilation) block the main thread even if concurrent recompilation is on?

2016-05-10 Thread Borislav Stanimirov
Hi, I'm running v8 on Android with all settings set to default (a trace of v8::internal::FLAG_concurrent_recompilation shows true). When the application starts there are noticeable blocks (from tens to sometimes two hundred milliseconds) in the main thread. When I rerun the same code, without