Lines Matching refs:per_thread
136 PerIsolateThreadData* per_thread = NULL; in FindOrAllocatePerThreadDataForThisThread() local
139 per_thread = thread_data_table_->Lookup(this, thread_id); in FindOrAllocatePerThreadDataForThisThread()
140 if (per_thread == NULL) { in FindOrAllocatePerThreadDataForThisThread()
141 per_thread = new PerIsolateThreadData(this, thread_id); in FindOrAllocatePerThreadDataForThisThread()
142 thread_data_table_->Insert(per_thread); in FindOrAllocatePerThreadDataForThisThread()
144 DCHECK(thread_data_table_->Lookup(this, thread_id) == per_thread); in FindOrAllocatePerThreadDataForThisThread()
146 return per_thread; in FindOrAllocatePerThreadDataForThisThread()
156 PerIsolateThreadData* per_thread = in DiscardPerThreadDataForThisThread() local
158 if (per_thread) { in DiscardPerThreadDataForThisThread()
159 DCHECK(!per_thread->thread_state_); in DiscardPerThreadDataForThisThread()
160 thread_data_table_->Remove(per_thread); in DiscardPerThreadDataForThisThread()
174 PerIsolateThreadData* per_thread = NULL; in FindPerThreadDataForThread() local
177 per_thread = thread_data_table_->Lookup(this, thread_id); in FindPerThreadDataForThread()
179 return per_thread; in FindPerThreadDataForThread()