Re: [v8-users] Profiler: Application crash in HandleProfilerSignal

2015-12-04 Thread Mihail Slavchev
stack traces, or at least some info on where it > actually crashes? > > best > -jochen > > On Mon, Nov 30, 2015 at 6:16 PM Mihail Slavchev <mihail@gmail.com > > wrote: > >> Hi guys, >> >> NativeScript developer here. We embed V8 (4.5.103) in android app

Re: [v8-users] Profiler: Application crash in HandleProfilerSignal

2015-12-01 Thread Mihail Slavchev
> > Hi! > > can you provide some stack traces, or at least some info on where it > actually crashes? > > best > -jochen > > On Mon, Nov 30, 2015 at 6:16 PM Mihail Slavchev <mihail@gmail.com > > wrote: > >> Hi guys, >> >> NativeScri

Re: [v8-users] Profiler: Application crash in HandleProfilerSignal

2015-12-01 Thread Mihail Slavchev
ashes? > > best > -jochen > > On Mon, Nov 30, 2015 at 6:16 PM Mihail Slavchev <mihail@gmail.com > > wrote: > >> Hi guys, >> >> NativeScript developer here. We embed V8 (4.5.103) in android apps and I >> am trying to diagnose an app cras

[v8-users] Profiler: Application crash in HandleProfilerSignal

2015-11-30 Thread Mihail Slavchev
Hi guys, NativeScript developer here. We embed V8 (4.5.103) in android apps and I am trying to diagnose an app crash (SIGILL) when the CPU profiler is enabled. It happens on ARM architecture, both on devices and emulators, and as far as I observed it happens only in stacks with mixed

[v8-users] Re: Enumerate closure variable

2015-08-11 Thread Mihail Slavchev
are printed to stdout. Maybe these methods can help? Yang On Thursday, August 6, 2015 at 6:02:43 PM UTC+2, Mihail Slavchev wrote: Hi guys, I work on NativeScript project and my team uses V8 to access Android APIs from JavaScript. In order to orchestrate V8/Dalvik garbage collectors dance I need

[v8-users] Enumerate closure variable

2015-08-06 Thread Mihail Slavchev
Hi guys, I work on NativeScript project and my team uses V8 to access Android APIs from JavaScript. In order to orchestrate V8/Dalvik garbage collectors dance I need to know whether a function creates a closure over an object. For example: var x = { f: function () { } } var y = { g:

[v8-users] Possible bug in Debug::NotifyMessageHandler?

2015-04-15 Thread Mihail Slavchev
Hi, I was investigating an issue with the V8 debugger when I stumbled on an unexpected program flow in Debug::NotifyMessageHandler method. More precisely, the current method implementation contains the following switch statement. switch (event) { case v8::Break: case

[v8-users] Semantics of WeakObjectRetainer::RetainAs

2014-06-17 Thread Mihail Slavchev
Hi all, I am trying to understand the semantics of WeakObjectRetainer::RetainAs. I found the following single line comment in the source code (file heap.h): // Abstract base class for checking whether a weak object should be retained. class WeakObjectRetainer { ... } It clearly states the

Re: [v8-users] Semantics of WeakObjectRetainer::RetainAs

2014-06-17 Thread Mihail Slavchev
Hi Ben, Thank you for the quick answer. That makes it clear now. Regards, Mihail On Tuesday, June 17, 2014 10:48:36 PM UTC+3, Ben Noordhuis wrote: On Tue, Jun 17, 2014 at 12:58 PM, Mihail Slavchev mihail@gmail.com javascript: wrote: Hi all, I am trying to understand

[v8-users] How does V8 maintain a closure lifetime

2014-06-11 Thread Mihail Slavchev
Hi all, I am reading V8 source code in order to get better understanding how V8 maintains object lifetime during GC. Here is a short example that I am trying to understand. var s = hello (function(name) { console.log(s + name) })(John) Obviously, the GC won't collect the string hello

Re: [v8-users] How does V8 maintain a closure lifetime

2014-06-11 Thread Mihail Slavchev
will be kept alive forever. Best regards, Michael On Wed, Jun 11, 2014 at 10:24 AM, Mihail Slavchev mihail@gmail.com javascript: wrote: Hi all, I am reading V8 source code in order to get better understanding how V8 maintains object lifetime during GC. Here is a short example that I am

[v8-users] Cross compiling V8 for ARM on Windows

2013-10-07 Thread Mihail Slavchev
Hello, I am trying to compile V8 for ARM using cygwin and ndk-r9. I get the following error: CXX(host) /home/slavchev/test/node/deps/v8/out/android_arm.release/obj.host/v8_base.arm/src/platform-posix.o CXX(host)

Re: [v8-users] Cross compiling V8 for ARM on Windows

2013-10-07 Thread Mihail Slavchev
://code.google.com/p/v8/wiki/BuildingWithGYP Cheers, Rodolph. On 7 October 2013 12:30, Mihail Slavchev mihail.slavc...@gmail.comwrote: Hello, I am trying to compile V8 for ARM using cygwin and ndk-r9. I get the following error: CXX(host) /home/slavchev/test/node/deps/v8/out/android_arm.release