[v8-users] Re: a question about Isolate RequestInterrupt

2022-01-12 Thread anarkh the
thanks, i have modified the code. And i have another question. Im a nodejser, i want to use RequestInterrupt callback to do something by js code, because Node.js don not export the public C++ API but export a js Public API. If i can not call js code in RequestInterrupt callback, can i have

[v8-users] Re: a question about Isolate RequestInterrupt

2022-01-12 Thread anarkh the
thanks, i have modified the code. And i have another question. Im a nodejser, i want to use RequestInterrupt callback to do something by js code, because Node.js don not export the public C++ API but export a js Public API. If i can not call js code in RequestInterrupt callback, can i have any

[v8-users] a question about v8 gc callback

2022-04-13 Thread anarkh the
Hi ! When i add cb1 by isolate->AddGCPrologueCallback and add cb2 by isolate->AddGCEpilogueCallback(), and the gc_type_filter is kGCTypeAll. Will the callbacks be called like this: cb1 by Scavenge ,cb1 by MarkSweepCompact , cb2 by Scavenge? -- -- v8-users mailing list