I've surfed through the v8 sources more and figured out that callbacks set
with v8::Isolate::AddCallCompletedCallback() called only in specific
situation and it doesn't cover e.g. v8::Value::ToString() calls,
so if there will be something like
var x = new String("res");
/x.toString = function () { while (true) {}; }
and later call Context::GlobalObject->Get("x")->ToString() I will run into
endless loop.
In my task I have no control of what will be executed inside v8, so while
it is less likely to run into situation I provided above, it still possible.
At this time I probably will track most (if not all) context dependent
calls to be within time and memory overall limit.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" 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.