Searched refs:tls32_ (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | thread-inl.h | 79 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState() 80 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 87 CHECK_EQ(0u, tls32_.no_thread_suspension) << tlsPtr_.last_no_thread_suspension_cause; in AssertThreadSuspensionIsAllowable() 118 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromRunnableToSuspended() 130 tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakRelaxed(old_state_and_flags.as_int, in TransitionFromRunnableToSuspended() 143 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 148 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 153 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 158 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 166 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() [all …]
|
D | thread.h | 204 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState() 205 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState() 206 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 212 return tls32_.suspend_count; in GetSuspendCount() 216 return tls32_.debug_suspend_count; in GetDebugSuspendCount() 221 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended() 259 tls32_.no_thread_suspension++; in StartAssertNoThreadSuspension() 270 CHECK(old_cause != nullptr || tls32_.no_thread_suspension == 1); in EndAssertNoThreadSuspension() 271 CHECK_GT(tls32_.no_thread_suspension, 0U); in EndAssertNoThreadSuspension() 272 tls32_.no_thread_suspension--; in EndAssertNoThreadSuspension() [all …]
|
D | entrypoints_order_test.cc | 65 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, debug_suspend_count, 4); in CheckThreadOffsets() 68 EXPECT_OFFSET_DIFFP(Thread, tls32_, debug_suspend_count, thin_lock_thread_id, 4); in CheckThreadOffsets() 69 EXPECT_OFFSET_DIFFP(Thread, tls32_, thin_lock_thread_id, tid, 4); in CheckThreadOffsets() 70 EXPECT_OFFSET_DIFFP(Thread, tls32_, tid, daemon, 4); in CheckThreadOffsets() 71 EXPECT_OFFSET_DIFFP(Thread, tls32_, daemon, throwing_OutOfMemoryError, 4); in CheckThreadOffsets() 72 EXPECT_OFFSET_DIFFP(Thread, tls32_, throwing_OutOfMemoryError, no_thread_suspension, 4); in CheckThreadOffsets() 73 EXPECT_OFFSET_DIFFP(Thread, tls32_, no_thread_suspension, thread_exit_check_count, 4); in CheckThreadOffsets() 74 EXPECT_OFFSET_DIFFP(Thread, tls32_, thread_exit_check_count, handling_signal_, 4); in CheckThreadOffsets() [all …]
|
D | thread.cc | 197 tls32_.deoptimization_return_value_is_reference, in PushAndClearDeoptimizationReturnValue() 229 tls32_.tid = ::art::GetTid(); in InitTid() 496 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init() 763 DCHECK(delta == -1 || delta == +1 || delta == -tls32_.debug_suspend_count) in ModifySuspendCount() 764 << delta << " " << tls32_.debug_suspend_count << " " << this; in ModifySuspendCount() 765 DCHECK_GE(tls32_.suspend_count, tls32_.debug_suspend_count) << this; in ModifySuspendCount() 771 if (UNLIKELY(delta < 0 && tls32_.suspend_count <= 0)) { in ModifySuspendCount() 776 tls32_.suspend_count += delta; in ModifySuspendCount() 778 tls32_.debug_suspend_count += delta; in ModifySuspendCount() 781 if (tls32_.suspend_count == 0) { in ModifySuspendCount() [all …]
|