Lines Matching refs:thread_
144 explicit JitLockHolder(JSThread *thread) : thread_(nullptr), scope_(thread->GetEcmaVM())
147 thread_ = static_cast<JitThread*>(thread);
148 if (thread_->GetState() != ThreadState::RUNNING) {
149 thread_->ManagedCodeBegin();
152 thread_->GetHostThread()->GetJitLock()->Lock();
156 explicit JitLockHolder(const CompilationEnv *env, CString message) : thread_(nullptr),
163 thread_ = static_cast<JitThread*>(thread);
164 if (thread_->GetState() != ThreadState::RUNNING) {
165 thread_->ManagedCodeBegin();
168 thread_->GetHostThread()->GetJitLock()->Lock();
174 if (thread_ != nullptr) {
175 thread_->GetHostThread()->GetJitLock()->Unlock();
177 thread_->ManagedCodeEnd();
181 JitThread *thread_ {nullptr};
191 explicit JitGCLockHolder(JSThread *thread) : thread_(thread)
195 LockJit(thread_);
216 UnlockJit(thread_);
222 JSThread *thread_;