Home
last modified time | relevance | path

Searched refs:tlsPtr_ (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dthread.h233 const char* previous_cause = tlsPtr_.last_no_thread_suspension_cause; in StartAssertNoThreadSuspension()
235 tlsPtr_.last_no_thread_suspension_cause = cause; in StartAssertNoThreadSuspension()
248 tlsPtr_.last_no_thread_suspension_cause = old_cause; in EndAssertNoThreadSuspension()
299 CHECK(tlsPtr_.jpeer == nullptr); in GetPeer()
300 return tlsPtr_.opeer; in GetPeer()
304 return tlsPtr_.jpeer != nullptr || tlsPtr_.opeer != nullptr; in HasPeer()
314 return tlsPtr_.exception != nullptr; in IsExceptionPending()
320 *throw_location = tlsPtr_.throw_location; in GetException()
322 return tlsPtr_.exception; in GetException()
332 tlsPtr_.exception = new_exception; in SetException()
[all …]
Dthread.cc84 tlsPtr_.card_table = Runtime::Current()->GetHeap()->GetCardTable()->GetBiasedBegin(); in InitCardTable()
96 uintptr_t* begin = reinterpret_cast<uintptr_t*>(&tlsPtr_.interpreter_entrypoints); in InitTlsEntryPoints()
98 sizeof(tlsPtr_.quick_entrypoints)); in InitTlsEntryPoints()
102 InitEntryPoints(&tlsPtr_.interpreter_entrypoints, &tlsPtr_.jni_entrypoints, in InitTlsEntryPoints()
103 &tlsPtr_.portable_entrypoints, &tlsPtr_.quick_entrypoints); in InitTlsEntryPoints()
107 ResetQuickAllocEntryPoints(&tlsPtr_.quick_entrypoints); in ResetQuickAllocEntryPointsForThread()
111 tlsPtr_.deoptimization_shadow_frame = sf; in SetDeoptimizationShadowFrame()
119 ShadowFrame* sf = tlsPtr_.deoptimization_shadow_frame; in GetAndClearDeoptimizationShadowFrame()
120 tlsPtr_.deoptimization_shadow_frame = nullptr; in GetAndClearDeoptimizationShadowFrame()
126 sf->SetLink(tlsPtr_.shadow_frame_under_construction); in SetShadowFrameUnderConstruction()
[all …]
Dthread-inl.h61 CHECK_EQ(0u, tls32_.no_thread_suspension) << tlsPtr_.last_no_thread_suspension_cause; in AssertThreadSuspensionIsAllowable()
166 return tlsPtr_.thread_local_end - tlsPtr_.thread_local_pos; in TlabSize()
171 ++tlsPtr_.thread_local_objects; in AllocTlab()
172 mirror::Object* ret = reinterpret_cast<mirror::Object*>(tlsPtr_.thread_local_pos); in AllocTlab()
173 tlsPtr_.thread_local_pos += bytes; in AllocTlab()
178 DCHECK_LE(tlsPtr_.thread_local_alloc_stack_top, tlsPtr_.thread_local_alloc_stack_end); in PushOnThreadLocalAllocationStack()
179 if (tlsPtr_.thread_local_alloc_stack_top < tlsPtr_.thread_local_alloc_stack_end) { in PushOnThreadLocalAllocationStack()
181 DCHECK_LE(reinterpret_cast<byte*>(tlsPtr_.thread_local_alloc_stack_top) + in PushOnThreadLocalAllocationStack()
183 reinterpret_cast<byte*>(tlsPtr_.thread_local_alloc_stack_end)); in PushOnThreadLocalAllocationStack()
184 DCHECK(*tlsPtr_.thread_local_alloc_stack_top == nullptr); in PushOnThreadLocalAllocationStack()
[all …]
Dentrypoints_order_test.cc87 EXPECT_OFFSET_DIFF_GT3(Thread, tls64_.stats, tlsPtr_.card_table, 8, thread_tls64_to_tlsptr); in CheckThreadOffsets()
89 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, card_table, exception, kPointerSize); in CheckThreadOffsets()
90 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, exception, stack_end, kPointerSize); in CheckThreadOffsets()
91 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, stack_end, managed_stack, kPointerSize); in CheckThreadOffsets()
92 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, managed_stack, suspend_trigger, sizeof(ManagedStack)); in CheckThreadOffsets()
93 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, suspend_trigger, jni_env, kPointerSize); in CheckThreadOffsets()
94 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, jni_env, self, kPointerSize); in CheckThreadOffsets()
95 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, self, opeer, kPointerSize); in CheckThreadOffsets()
96 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, opeer, jpeer, kPointerSize); in CheckThreadOffsets()
97 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, jpeer, stack_begin, kPointerSize); in CheckThreadOffsets()
[all …]
/art/runtime/arch/x86_64/
Dthread_x86_64.cc48 tlsPtr_.self = this; in InitCpu()
/art/runtime/arch/x86/
Dthread_x86.cc122 tlsPtr_.self = this; in InitCpu()
/art/runtime/arch/
Dstub_test.cc62 return &self->tlsPtr_; in GetTlsPtr()