Lines Matching refs:Thread
78 MutexLock mu(Thread::Current(), block_lock_); in Clear()
95 void BumpPointerSpace::RevokeThreadLocalBuffers(Thread* thread) { in RevokeThreadLocalBuffers()
96 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers()
101 Thread* self = Thread::Current(); in RevokeAllThreadLocalBuffers()
105 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers()
106 for (Thread* thread : thread_list) { in RevokeAllThreadLocalBuffers()
111 void BumpPointerSpace::AssertThreadLocalBuffersAreRevoked(Thread* thread) { in AssertThreadLocalBuffersAreRevoked()
113 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked()
120 Thread* self = Thread::Current(); in AssertAllThreadLocalBuffersAreRevoked()
124 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked()
125 for (Thread* thread : thread_list) { in AssertAllThreadLocalBuffersAreRevoked()
158 MutexLock mu(Thread::Current(), block_lock_); in Walk()
211 Thread* self = Thread::Current(); in GetBytesAllocated()
214 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetBytesAllocated()
215 MutexLock mu3(Thread::Current(), block_lock_); in GetBytesAllocated()
219 for (Thread* thread : thread_list) { in GetBytesAllocated()
229 Thread* self = Thread::Current(); in GetObjectsAllocated()
232 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetObjectsAllocated()
233 MutexLock mu3(Thread::Current(), block_lock_); in GetObjectsAllocated()
237 for (Thread* thread : thread_list) { in GetObjectsAllocated()
244 void BumpPointerSpace::RevokeThreadLocalBuffersLocked(Thread* thread) { in RevokeThreadLocalBuffersLocked()
250 bool BumpPointerSpace::AllocNewTlab(Thread* self, size_t bytes) { in AllocNewTlab()
251 MutexLock mu(Thread::Current(), block_lock_); in AllocNewTlab()