Thanks for answering. OK, any ways I might hack on this in an unsupported way? I wish to take the risk.
пятница, 30 октября 2015 г., 10:29:54 UTC+3 пользователь Hannes Payer написал: > > Nope, that is not supported. We are continuously working on making gc > pauses negligible. > On Oct 30, 2015 8:24 AM, "Artem Chivchalov" <[email protected] > <javascript:>> wrote: > >> Hi all, >> >> I'm using node.js v5 (V8 4.6.85.25). I wonder is there any way in native >> code to explicitly disable GC runs (at least mark-sweep-compact runs) >> during the specified period of time, while executing some code sensitive to >> delays? Something like this: >> >> disableGc(); >> runCodeWithoutDelays(); >> enableGc(); >> >> Is there an API for that? I'm aware of a possibility to call major GC >> runs explicitly, but that triggers non-incremental mark-sweep-compact which >> is heavy and takes a much longer time than incremental one. What I'd like >> to achieve is just block GC from executing for a while and resume it a bit >> later. >> >> -- >> -- >> v8-users mailing list >> [email protected] <javascript:> >> 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 emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list [email protected] 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 emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
