Lines Matching defs:isolate
204 * completely separate states. Objects from one isolate must not be used in
206 * parallel in multiple threads. An isolate can be entered by at most one
269 * entire lifetime of the isolate.
275 * this isolate. This can also be configured via SetAllowAtomicsWait.
300 * Stack-allocated class which sets the isolate for all operations
305 explicit Scope(Isolate* isolate) : v8_isolate_(isolate) {
326 DisallowJavascriptExecutionScope(Isolate* isolate, OnFailure on_failure);
346 explicit AllowJavascriptExecutionScope(Isolate* isolate);
369 Isolate* isolate, MicrotaskQueue* microtask_queue = nullptr);
560 using UseCounterCallback = void (*)(Isolate* isolate,
564 * Allocates a new isolate but does not initialize it. Does not change the
565 * currently entered isolate.
568 * embedder-controlled parts of the isolate, are allowed to be called on the
569 * uninitialized isolate. To initialize the isolate, call
572 * When an isolate is no longer used its resources should be freed
582 static void Initialize(Isolate* isolate, const CreateParams& params);
585 * Creates a new isolate. Does not change the currently entered
586 * isolate.
588 * When an isolate is no longer used its resources should be freed
596 * Returns the entered isolate for the current thread or NULL in
597 * case there is no current isolate.
604 * Returns the entered isolate for the current thread or NULL in
605 * case there is no current isolate.
612 * Return true if this isolate is currently active.
675 * the isolate is executing long running JavaScript code.
692 * Sets this isolate as the entered one for the current thread.
694 * restored when exiting. Re-entering an isolate is allowed.
699 * Exits this isolate by restoring the previously entered one in the
700 * current thread. The isolate may still stay the same, if it was
708 * Disposes the isolate. The isolate must not be entered by any
715 * of performing a full isolate disposal.
729 * Associate embedder-specific data with the isolate. |slot| has to be
735 * Retrieve embedder-specific data from the isolate.
747 * Return data that was previously attached to the isolate snapshot via
819 * Get a call stack sample from the isolate.
849 * Returns heap profiler for this isolate. Will return NULL until the isolate
859 /** Returns the ArrayBuffer::Allocator used in this isolate. */
862 /** Returns true if this isolate has a current context. */
904 using GCCallback = void (*)(Isolate* isolate, GCType type,
906 using GCCallbackWithData = void (*)(Isolate* isolate, GCType type,
1074 * in the given isolate.
1092 * Resume execution capability in the given isolate, whose execution
1096 * the isolate can not resume execution until all JavaScript frames
1268 * This method can only be called once per isolate and must happen during
1269 * isolate initialization before background threads are spawned.
1317 * Optional notification that the isolate switched to the foreground.
1323 * Optional notification that the isolate switched to the background.
1357 * Optional notification to tell V8 the current isolate is used for debugging
1580 * Iterates through all external resources referenced from current isolate
1587 * Check if this isolate is in use.
1588 * True if at least one thread Enter'ed this isolate.
1594 * this isolate. This can also be configured via