Lines Matching refs:tlsPtr_
447 Closure* GetFlipFunction() { return tlsPtr_.flip_function.load(std::memory_order_relaxed); } in GetFlipFunction()
464 return tlsPtr_.thread_local_mark_stack; in GetThreadLocalMarkStack()
468 tlsPtr_.thread_local_mark_stack = stack; in SetThreadLocalMarkStack()
473 return tlsPtr_.thread_local_gc_buffer; in GetThreadLocalGcBuffer()
477 tlsPtr_.thread_local_gc_buffer = buf; in SetThreadLocalGcBuffer()
514 const char* previous_cause = tlsPtr_.last_no_thread_suspension_cause; in StartAssertNoThreadSuspension()
516 tlsPtr_.last_no_thread_suspension_cause = cause; in StartAssertNoThreadSuspension()
529 tlsPtr_.last_no_thread_suspension_cause = old_cause; in EndAssertNoThreadSuspension()
542 ret = tlsPtr_.last_no_thread_suspension_cause; in EndAssertNoThreadSuspension()
543 tlsPtr_.last_no_thread_suspension_cause = nullptr; in EndAssertNoThreadSuspension()
602 CHECK(tlsPtr_.jpeer == nullptr); in GetPeer()
603 return tlsPtr_.opeer; in GetPeer()
636 return tlsPtr_.jpeer != nullptr || tlsPtr_.opeer != nullptr; in HasPeer()
646 return tlsPtr_.exception != nullptr; in IsExceptionPending()
650 return tlsPtr_.async_exception != nullptr; in IsAsyncExceptionPending()
654 return tlsPtr_.exception; in GetException()
674 tlsPtr_.exception = nullptr; in ClearException()
691 if (tlsPtr_.long_jump_context != nullptr) { in ReleaseLongJumpContext()
694 tlsPtr_.long_jump_context = context; in ReleaseLongJumpContext()
710 tlsPtr_.managed_stack.SetTopQuickFrame(top_method); in SetTopOfStack()
714 tlsPtr_.managed_stack.SetTopQuickFrameGenericJniTagged(top_method); in SetTopOfStackGenericJniTagged()
718 tlsPtr_.managed_stack.SetTopShadowFrame(top); in SetTopOfShadowStack()
722 return tlsPtr_.managed_stack.HasTopQuickFrame() || tlsPtr_.managed_stack.HasTopShadowFrame(); in HasManagedStack()
785 return tlsPtr_.jni_env; in GetJniEnv()
794 return tlsPtr_.monitor_enter_object; in GetMonitorEnterObject()
798 tlsPtr_.monitor_enter_object = obj; in SetMonitorEnterObject()
848 return tlsPtr_.wait_next; in GetWaitNext()
852 tlsPtr_.wait_next = next; in SetWaitNext()
856 return tlsPtr_.class_loader_override; in GetClassLoaderOverride()
889 return tlsPtr_.frame_id_to_shadow_frame != nullptr; in HasDebuggerShadowFrames()
988 size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); in ThreadOffsetFromTlsPtr()
1109 return tlsPtr_.stack_size - (tlsPtr_.stack_end - tlsPtr_.stack_begin); in GetStackSize()
1115 return tlsPtr_.stack_end; in GetStackEnd()
1125 return tlsPtr_.stack_end == tlsPtr_.stack_begin; in IsHandlingStackOverflow()
1148 return &tlsPtr_.managed_stack; in GetManagedStack()
1153 tlsPtr_.managed_stack.PushManagedStackFragment(fragment); in PushManagedStackFragment()
1156 tlsPtr_.managed_stack.PopManagedStackFragment(fragment); in PopManagedStackFragment()
1180 return tlsPtr_.top_handle_scope; in GetTopHandleScope()
1184 DCHECK_EQ(handle_scope->GetLink(), tlsPtr_.top_handle_scope); in PushHandleScope()
1185 tlsPtr_.top_handle_scope = handle_scope; in PushHandleScope()
1189 BaseHandleScope* handle_scope = tlsPtr_.top_handle_scope; in PopHandleScope()
1191 tlsPtr_.top_handle_scope = tlsPtr_.top_handle_scope->GetLink(); in PopHandleScope()
1209 DCHECK_LT(enum_cast<size_t>(level), arraysize(tlsPtr_.held_mutexes)); in HeldMutexOffset()
1215 return tlsPtr_.top_reflective_handle_scope; in GetTopReflectiveHandleScope()
1219 DCHECK_EQ(scope->GetLink(), tlsPtr_.top_reflective_handle_scope); in PushReflectiveHandleScope()
1221 tlsPtr_.top_reflective_handle_scope = scope; in PushReflectiveHandleScope()
1225 BaseReflectiveHandleScope* handle_scope = tlsPtr_.top_reflective_handle_scope; in PopReflectiveHandleScope()
1227 tlsPtr_.top_reflective_handle_scope = tlsPtr_.top_reflective_handle_scope->GetLink(); in PopReflectiveHandleScope()
1337 return tlsPtr_.deps_or_stack_trace_sample.stack_trace_sample; in GetStackTraceSample()
1342 tlsPtr_.deps_or_stack_trace_sample.stack_trace_sample = sample; in SetStackTraceSample()
1347 return tlsPtr_.deps_or_stack_trace_sample.verifier_deps; in GetVerifierDeps()
1355 DCHECK(verifier_deps == nullptr || tlsPtr_.deps_or_stack_trace_sample.verifier_deps == nullptr); in SetVerifierDeps()
1356 tlsPtr_.deps_or_stack_trace_sample.verifier_deps = verifier_deps; in SetVerifierDeps()
1359 uintptr_t* GetMethodTraceBuffer() { return tlsPtr_.method_trace_buffer; } in GetMethodTraceBuffer()
1361 size_t* GetMethodTraceIndexPtr() { return &tlsPtr_.method_trace_buffer_index; } in GetMethodTraceIndexPtr()
1364 return tlsPtr_.method_trace_buffer = buffer; in SetMethodTraceBuffer()
1376 return tlsPtr_.held_mutexes[level]; in GetHeldMutex()
1380 tlsPtr_.held_mutexes[level] = mutex; in SetHeldMutex()
1408 return tlsPtr_.thread_local_end - tlsPtr_.thread_local_pos; in TlabSize()
1413 return tlsPtr_.thread_local_pos - tlsPtr_.thread_local_start; in GetTlabPosOffset()
1418 return tlsPtr_.thread_local_limit - tlsPtr_.thread_local_pos; in TlabRemainingCapacity()
1423 tlsPtr_.thread_local_end += bytes; in ExpandTlab()
1424 DCHECK_LE(tlsPtr_.thread_local_end, tlsPtr_.thread_local_limit); in ExpandTlab()
1437 return tlsPtr_.thread_local_start; in GetTlabStart()
1440 return tlsPtr_.thread_local_pos; in GetTlabPos()
1443 return tlsPtr_.thread_local_end; in GetTlabEnd()
1448 tlsPtr_.suspend_trigger.store(reinterpret_cast<uintptr_t*>(&tlsPtr_.suspend_trigger), in RemoveSuspendTrigger()
1458 void TriggerSuspend() { tlsPtr_.suspend_trigger.store(nullptr, std::memory_order_release); } in TriggerSuspend()
1472 return tlsPtr_.thread_local_end - tlsPtr_.thread_local_start; in GetThreadLocalBytesAllocated()
1476 return tlsPtr_.thread_local_objects; in GetThreadLocalObjectsAllocated()
1480 return tlsPtr_.rosalloc_runs[index]; in GetRosAllocRun()
1484 tlsPtr_.rosalloc_runs[index] = run; in SetRosAllocRun()
1705 DCHECK_EQ(tlsPtr_.mutator_lock, Locks::mutator_lock_); in GetMutatorLock()
1706 return tlsPtr_.mutator_lock; in GetMutatorLock()
2331 } tlsPtr_; variable