Lines Matching defs:thread
182 // relaxed since we can guarantee that the current thread has initialized these
541 ThreadLocalTop* thread = reinterpret_cast<ThreadLocalTop*>(thread_storage);
542 Iterate(v, thread);
547 ThreadLocalTop* thread = reinterpret_cast<ThreadLocalTop*>(t);
548 v->VisitThread(this, thread);
551 void Isolate::Iterate(RootVisitor* v, ThreadLocalTop* thread) {
552 // Visit the roots from the top for a given thread.
554 FullObjectSlot(&thread->pending_exception_));
556 FullObjectSlot(&thread->pending_message_));
558 FullObjectSlot(&thread->context_));
560 FullObjectSlot(&thread->scheduled_exception_));
562 for (v8::TryCatch* block = thread->try_catch_handler_; block != nullptr;
587 // the thread info below instead.
598 for (StackFrameIterator it(this, thread); !it.done(); it.Advance()) {
1850 // This scope will set the thread-in-wasm flag after the execution of all
1851 // destructors. The thread-in-wasm flag is only set when the scope gets enabled.
1877 // that the destructor sets the thread-in-wasm flag after all other
1879 // Windows, which would invalidate the thread-in-wasm flag when the wasm trap
3083 // as the allocator is potentially used on a concurrent thread.
3188 // initializing the thread data.
3947 // Ensure that the thread has a valid stack guard. The v8::Locker object
3949 // using one thread.
3954 // Create LocalIsolate/LocalHeap for the main thread and set state to Running.
3970 // The main thread LocalHeap needs to be set up when attaching to the shared
3972 // LocalHeaps and not wait until this thread is ready for a GC.
4241 // Same thread re-enters the isolate, no need to re-init anything.
4257 // In case it's the first time some thread enters the isolate.
4281 // Reinit the current thread for the isolate it was running before this one.