[v8-users] Infinite stack using setTimeout() (the way I am)

2018-07-05 Thread J Decker
I've been doing function Tick() { /*do something*/ setTimeout( tick, 1000 ); } but I notice in dev tools when I break in that, there seems to be an infinite growing nest of contexts(?) ... How can I prevent that? THe previous values in the previous calls can't be referenced by

Re: [v8-users] OOM in Heap::ReserveSpace

2018-07-05 Thread Yvonne Chen
It's the case where "if (allocation.To(_space))" is false. I'm currently unable to reproduce this outside of our main codebase into a standalone test file, but I'll file a bug if I manage to do so. On Wednesday, July 4, 2018 at 12:05:30 AM UTC-7, Jakob Gruber wrote: > > Could you check which

Re: [v8-users] Is it possible to access the AST of the v8 engine, for a given JavaScript code?

2018-07-05 Thread 'Mathias Bynens' via v8-users
Grab a debug build (not a release build!) and run d8 --print-ast foo.js. On Thu, Jul 5, 2018 at 2:39 PM czczcheng wrote: > I want to analysis the javascript code and modify it in some cases. > > -- > -- > v8-users mailing list > v8-users@googlegroups.com >

[v8-users] Is it possible to access the AST of the v8 engine, for a given JavaScript code?

2018-07-05 Thread czczcheng
I want to analysis the javascript code and modify it in some cases. -- -- 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