Lines Matching defs:thread
89 void CheckMechineCodeSpaceMemory(JSThread *thread, int remainSize);
120 void IncJitTaskCnt(JSThread *thread);
121 void DecJitTaskCnt(JSThread *thread);
144 explicit JitLockHolder(JSThread *thread) : thread_(nullptr), scope_(thread->GetEcmaVM())
146 if (thread->IsJitThread()) {
147 thread_ = static_cast<JitThread*>(thread);
161 JSThread *thread = env->GetJSThread();
162 ASSERT(thread->IsJitThread());
163 thread_ = static_cast<JitThread*>(thread);
191 explicit JitGCLockHolder(JSThread *thread) : thread_(thread)
193 ASSERT(!thread->IsJitThread());
200 static void LockJit(JSThread *thread)
203 thread->GetJitLock()->Lock();
208 static void UnlockJit(JSThread *thread)
210 thread->GetJitLock()->Unlock();