Lines Matching defs:isolate
199 * completely separate states. Objects from one isolate must not be used in
201 * parallel in multiple threads. An isolate can be entered by at most one
262 * entire lifetime of the isolate.
268 * this isolate. This can also be configured via SetAllowAtomicsWait.
299 * Stack-allocated class which sets the isolate for all operations
304 explicit Scope(Isolate* isolate) : isolate_(isolate) { isolate->Enter(); }
323 DisallowJavascriptExecutionScope(Isolate* isolate, OnFailure on_failure);
346 explicit AllowJavascriptExecutionScope(Isolate* isolate);
369 Isolate* isolate, MicrotaskQueue* microtask_queue = nullptr);
392 explicit SafeForTerminationScope(v8::Isolate* isolate);
551 using UseCounterCallback = void (*)(Isolate* isolate,
555 * Allocates a new isolate but does not initialize it. Does not change the
556 * currently entered isolate.
559 * embedder-controlled parts of the isolate, are allowed to be called on the
560 * uninitialized isolate. To initialize the isolate, call
563 * When an isolate is no longer used its resources should be freed
573 static void Initialize(Isolate* isolate, const CreateParams& params);
576 * Creates a new isolate. Does not change the currently entered
577 * isolate.
579 * When an isolate is no longer used its resources should be freed
587 * Returns the entered isolate for the current thread or NULL in
588 * case there is no current isolate.
595 * Returns the entered isolate for the current thread or NULL in
596 * case there is no current isolate.
603 * Return true if this isolate is currently active.
669 * the isolate is executing long running JavaScript code.
686 * Sets this isolate as the entered one for the current thread.
688 * restored when exiting. Re-entering an isolate is allowed.
693 * Exits this isolate by restoring the previously entered one in the
694 * current thread. The isolate may still stay the same, if it was
702 * Disposes the isolate. The isolate must not be entered by any
709 * of performing a full isolate disposal.
723 * Associate embedder-specific data with the isolate. |slot| has to be
729 * Retrieve embedder-specific data from the isolate.
741 * Return data that was previously attached to the isolate snapshot via
813 * 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,
931 * Sets the embedder heap tracer for the isolate.
937 * Gets the currently active heap tracer for the isolate that was set with
1093 * in the given isolate.
1111 * Resume execution capability in the given isolate, whose execution
1115 * the isolate can not resume execution until all JavaScript frames
1290 * This method can only be called once per isolate and must happen during
1291 * isolate initialization before background threads are spawned.
1337 * Optional notification that the isolate switched to the foreground.
1343 * Optional notification that the isolate switched to the background.
1375 * Optional notification to tell V8 the current isolate is used for debugging
1595 * Iterates through all external resources referenced from current isolate
1602 * Iterates through all the persistent handles in the current isolate's heap
1608 * Iterates through all the persistent handles in the current isolate's heap
1615 * Check if this isolate is in use.
1616 * True if at least one thread Enter'ed this isolate.
1622 * this isolate. This can also be configured via