Lines Matching defs:threadId

196     bool Push(uint32_t threadId, TaggedObject *object);
197 bool Pop(uint32_t threadId, TaggedObject **object);
198 bool PopWorkNodeFromGlobal(uint32_t threadId);
199 void PushWorkNodeToGlobal(uint32_t threadId, bool postTask = true);
201 inline void PushWeakReference(uint32_t threadId, JSTaggedType *weak)
203 works_.at(threadId).weakQueue_->PushBack(weak);
206 inline void IncreaseAliveSize(uint32_t threadId, size_t size)
208 works_.at(threadId).aliveSize_ += size;
211 inline void IncreasePromotedSize(uint32_t threadId, size_t size)
213 works_.at(threadId).promotedSize_ += size;
216 inline ProcessQueue *GetWeakReferenceQueue(uint32_t threadId) const
218 return works_.at(threadId).weakQueue_;
221 inline TlabAllocator *GetTlabAllocator(uint32_t threadId) const
223 return works_.at(threadId).allocator_;
226 inline void PushSlotNeedUpdate(uint32_t threadId, SlotNeedUpdate slot)
228 works_.at(threadId).pendingUpdateSlots_.emplace_back(slot);
231 inline bool GetSlotNeedUpdate(uint32_t threadId, SlotNeedUpdate *slot)
233 std::vector<SlotNeedUpdate> &pendingUpdateSlots = works_.at(threadId).pendingUpdateSlots_;
281 inline SharedTlabAllocator *GetTlabAllocator(uint32_t threadId) const
283 return works_.at(threadId).allocator_;
286 inline void IncreaseAliveSize(uint32_t threadId, size_t size)
288 works_.at(threadId).aliveSize_ += size;
291 bool Push(uint32_t threadId, TaggedObject *object);
293 bool Pop(uint32_t threadId, TaggedObject **object);
295 bool PopWorkNodeFromGlobal(uint32_t threadId);
296 void PushWorkNodeToGlobal(uint32_t threadId, bool postTask = true);
299 inline void PushWeakReference(uint32_t threadId, JSTaggedType *weak)
301 works_.at(threadId).weakQueue_->PushBack(weak);
304 inline ProcessQueue *GetWeakReferenceQueue(uint32_t threadId) const
306 return works_.at(threadId).weakQueue_;