Home | History | Annotate | Download | only in include

Lines Matching defs:Isolate

117 class Isolate;
457 // Faster version, uses HeapObject to obtain the current Isolate.
483 internal::Isolate* isolate_;
2730 * Isolate represents an isolated instance of the V8 engine. V8
2731 * isolates have completely separate states. Objects from one isolate
2733 * default isolate is implicitly created and entered. The embedder
2735 * threads. An isolate can be entered by at most one thread at any
2738 class V8EXPORT Isolate {
2741 * Stack-allocated class which sets the isolate for all operations
2746 explicit Scope(Isolate* isolate) : isolate_(isolate) {
2747 isolate->Enter();
2753 Isolate* const isolate_;
2761 * Creates a new isolate. Does not change the currently entered
2762 * isolate.
2764 * When an isolate is no longer used its resources should be freed
2767 static Isolate* New();
2770 * Returns the entered isolate for the current thread or NULL in
2771 * case there is no current isolate.
2773 static Isolate* GetCurrent();
2781 * Sets this isolate as the entered one for the current thread.
2783 * restored when exiting. Re-entering an isolate is allowed.
2788 * Exits this isolate by restoring the previously entered one in the
2789 * current thread. The isolate may still stay the same, if it was
2792 * Requires: this == Isolate::GetCurrent().
2797 * Disposes the isolate. The isolate must not be entered by any
2803 * Associate embedder-specific data with the isolate
2808 * Retrive embedder-specific data from the isolate.
2814 Isolate();
2815 Isolate(const Isolate&);
2816 ~Isolate();
2817 Isolate& operator=(const Isolate&);
3216 * in the given isolate. If no isolate is provided, the default
3217 * isolate is used.
3222 * \param isolate The isolate in which to terminate the current JS execution.
3224 static void TerminateExecution(Isolate* isolate = NULL);
3234 * \param isolate The isolate in which to check.
3236 static bool IsExecutionTerminating(Isolate* isolate = NULL);
3255 * Iterates through all external resources referenced from current isolate
3407 v8::internal::Isolate* isolate_;
3416 friend class v8::internal::Isolate;
3600 * is allowed to use any given V8 isolate. See Isolate class
3601 * comments. The definition of 'using V8 isolate' includes
3603 * from V8 handles while in the particular V8 isolate. It is up
3611 * allowed to use the locked isolate. V8 guarantees that an isolate can be
3619 * v8::Locker locker(isolate);
3620 * v8::Isolate::Scope isolate_scope(isolate);
3622 * // Code using V8 and isolate goes here.
3633 * isolate->Exit();
3634 * v8::Unlocker unlocker(isolate);
3639 * isolate->Enter();
3659 * v8::Locker locker(isolate);
3660 * Isolate::Scope isolate_scope(isolate);
3663 * v8::Locker another_locker(isolate);
3666 * isolate->Exit();
3667 * v8::Unlocker unlocker(isolate);
3670 * isolate->Enter();
3683 * Initialize Unlocker for a given Isolate. NULL means default isolate.
3685 explicit Unlocker(Isolate* isolate = NULL);
3688 internal::Isolate* isolate_;
3695 * Initialize Locker for a given Isolate. NULL means default isolate.
3697 explicit Locker(Isolate* isolate = NULL);
3715 * Returns whether or not the locker for a given isolate, or default isolate
3718 static bool IsLocked(Isolate* isolate = NULL);
3728 internal::Isolate* isolate_;