Home
last modified time | relevance | path

Searched refs:tls32_ (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Dthread.h239 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState()
240 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState()
241 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState()
247 return tls32_.suspend_count; in GetSuspendCount()
252 return tls32_.user_code_suspend_count; in GetUserCodeSuspendCount()
257 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended()
263 tls32_.define_class_counter--; in DecrDefineClassCount()
267 tls32_.define_class_counter++; in IncrDefineClassCount()
270 return tls32_.define_class_counter; in GetDefineClassCount()
351 tls32_.no_thread_suspension++; in StartAssertNoThreadSuspension()
[all …]
Dthread-inl.h116 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState()
119 tls32_.state_and_flags.as_struct.state = new_state; in SetState()
124 if (tls32_.no_thread_suspension != 0) { in IsThreadSuspensionAllowable()
137 return tls32_.user_code_suspend_count != 0; in IsThreadSuspensionAllowable()
148 CHECK_EQ(0u, tls32_.no_thread_suspension) << tlsPtr_.last_no_thread_suspension_cause; in AssertThreadSuspensionIsAllowable()
169 return tls32_.user_code_suspend_count != 0; in AssertThreadSuspensionIsAllowable()
190 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionToSuspendedAndRunCheckpoints()
208 tls32_.state_and_flags.as_atomic_int.CompareAndSetWeakRelease(old_state_and_flags.as_int, in TransitionToSuspendedAndRunCheckpoints()
218 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers()
245 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
[all …]
Dentrypoints_order_test.cc65 CHECKED(OFFSETOF_MEMBER(Thread, tls32_.state_and_flags) == 0, thread_flags_at_zero); in CheckThreadOffsets()
66 EXPECT_OFFSET_DIFFP(Thread, tls32_, state_and_flags, suspend_count, 4); in CheckThreadOffsets()
67 EXPECT_OFFSET_DIFFP(Thread, tls32_, suspend_count, thin_lock_thread_id, 4); in CheckThreadOffsets()
68 EXPECT_OFFSET_DIFFP(Thread, tls32_, thin_lock_thread_id, tid, 4); in CheckThreadOffsets()
69 EXPECT_OFFSET_DIFFP(Thread, tls32_, tid, daemon, 4); in CheckThreadOffsets()
70 EXPECT_OFFSET_DIFFP(Thread, tls32_, daemon, throwing_OutOfMemoryError, 4); in CheckThreadOffsets()
71 EXPECT_OFFSET_DIFFP(Thread, tls32_, throwing_OutOfMemoryError, no_thread_suspension, 4); in CheckThreadOffsets()
72 EXPECT_OFFSET_DIFFP(Thread, tls32_, no_thread_suspension, thread_exit_check_count, 4); in CheckThreadOffsets()
73 EXPECT_OFFSET_DIFFP(Thread, tls32_, thread_exit_check_count, handling_signal_, 4); in CheckThreadOffsets()
76 EXPECT_OFFSET_DIFF_GT3(Thread, tls32_.thread_exit_check_count, tls64_.trace_clock_base, 4, in CheckThreadOffsets()
Dthread.cc167 tls32_.is_gc_marking = is_marking; in SetIsGcMarkingAndUpdateEntrypoints()
309 int old_state = tls32_.park_state_.fetch_add(1, std::memory_order_relaxed); in Park()
318 int result = futex(tls32_.park_state_.Address(), in Park()
352 result = futex(tls32_.park_state_.Address(), in Park()
362 result = futex(tls32_.park_state_.Address(), in Park()
383 tls32_.park_state_.store(kNoPermit, std::memory_order_relaxed); in Park()
405 if (tls32_.park_state_.exchange(kPermitAvailable, std::memory_order_relaxed) in Unpark()
407 int result = futex(tls32_.park_state_.Address(), in Unpark()
579 tls32_.tid = ::art::GetTid(); in InitTid()
960 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init()
[all …]
Druntime-inl.h97 thread->tls32_.use_mterp.store(interpreter::CanUseMterp()); in DoAndMaybeSwitchInterpreter()