[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] Re: a question about Isolate RequestInterrupt

2022-01-12 Thread alex...@gmail.com
I think it means that JavaScript code should not be called and maybe even messing with data in the heap is a bad idea. Not sure about the latter. I think the heap and JS stack are in indeterminate or at least intermediate states that wouldn't tolerate interlopers when you enter the callback so