What bothers me about this API is the implicit chaining of isolates. Basically you have to ensure that a thread exits the current isolate before starting to
use a new isolate, but unfortunately with this API you can't. There is a
reference to the first isolate created by the thread at the bottom of the
chain.

Not sure I have a good solution for this though.

Would it be ok if Dispose was a static method and could be called on the
currently entered isolate so it would exit it internally? So far this is the
only non-static public method.

http://codereview.chromium.org/2566002/show

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to