Re: [v8-users] No ability to memcpy into an ArrayBuffer w/o externalizing the data

2014-05-15 Thread Dmitry Lomov
Hi Trevor, Since V8 does not know how the memory backing an ArrayBuffer has been allocated in this case, there is now good way for V8 to free it. Just like previously with external indexed data, the way to do it is to use a weak persistent handle for the ArrayBuffer to get a notification when

Re: [v8-users] No ability to memcpy into an ArrayBuffer w/o externalizing the data

2014-05-15 Thread Trevor Norris
On May 15, 2014 3:34 AM, Dmitry Lomov dslo...@chromium.org wrote: Hi Trevor, Since V8 does not know how the memory backing an ArrayBuffer has been allocated in this case, there is now good way for V8 to free it. Since the user has to define the ArrayBufferAllocator, V8 isn't in control of how

Re: [v8-users] Occasional SIGSEGV while trying to parse JSON in an embedded V8 Application.

2014-05-15 Thread Jakob Kummerow
There's a subtle but important difference between value-IsEmpty() and value.IsEmpty() ;-) On Thu, May 15, 2014 at 1:36 AM, Abhishek Kona abhishek.k...@gmail.comwrote: I have some v8 Code which tries to Parse JSON I get a SIGSEGV once in a while when I try to access the value. I am very

[v8-users] Plot timer events not working

2014-05-15 Thread Hendrik Greving
I am getting: ools/plot-timer-events benchmarks/v8.log tools/plot-timer-events: 35: tools/plot-timer-events: [[: not found tools/plot-timer-events: 73: tools/plot-timer-events: [[: not found tools/plot-timer-events: 76: tools/plot-timer-events: gnuplot: not found Thanks for help! Regards,

[v8-users] Re: Plot timer events not working

2014-05-15 Thread Hendrik Greving
I installed gnuplot but still not working: tools/plot-timer-events benchmarks/v8.log tools/plot-timer-events: 35: tools/plot-timer-events: [[: not found tools/plot-timer-events: 73: tools/plot-timer-events: [[: not found On Thursday, May 15, 2014 10:35:27 AM UTC-7, Hendrik Greving wrote: I am

[v8-users] Re: Plot timer events not working

2014-05-15 Thread Yong Wang
try bash tools/plot-timer-events benchmarks/v8.log 在 2014年5月16日星期五UTC+8上午1时36分35秒,Hendrik Greving写道: I installed gnuplot but still not working: tools/plot-timer-events benchmarks/v8.log tools/plot-timer-events: 35: tools/plot-timer-events: [[: not found tools/plot-timer-events: 73: