Searched refs:tls32_ (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | thread-inl.h | 133 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState() 135 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 140 if (tls32_.no_thread_suspension != 0) { in IsThreadSuspensionAllowable() 154 CHECK_EQ(0u, tls32_.no_thread_suspension) << tlsPtr_.last_no_thread_suspension_cause; in AssertThreadSuspensionIsAllowable() 182 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionToSuspendedAndRunCheckpoints() 199 tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakRelease(old_state_and_flags.as_int, in TransitionToSuspendedAndRunCheckpoints() 209 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers() 236 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 241 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable() 250 if (LIKELY(tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakAcquire( in TransitionFromSuspendedToRunnable() [all …]
|
D | thread.h | 218 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState() 219 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState() 220 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 226 return tls32_.suspend_count; in GetSuspendCount() 230 return tls32_.debug_suspend_count; in GetDebugSuspendCount() 235 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended() 292 tls32_.no_thread_suspension++; in StartAssertNoThreadSuspension() 303 CHECK(old_cause != nullptr || tls32_.no_thread_suspension == 1); in EndAssertNoThreadSuspension() 304 CHECK_GT(tls32_.no_thread_suspension, 0U); in EndAssertNoThreadSuspension() 305 tls32_.no_thread_suspension--; in EndAssertNoThreadSuspension() [all …]
|
D | entrypoints_order_test.cc | 66 CHECKED(OFFSETOF_MEMBER(Thread, tls32_.state_and_flags) == 0, thread_flags_at_zero); in CheckThreadOffsets() 67 EXPECT_OFFSET_DIFFP(Thread, tls32_, state_and_flags, suspend_count, 4); in CheckThreadOffsets() 68 EXPECT_OFFSET_DIFFP(Thread, tls32_, suspend_count, debug_suspend_count, 4); in CheckThreadOffsets() 69 EXPECT_OFFSET_DIFFP(Thread, tls32_, debug_suspend_count, thin_lock_thread_id, 4); in CheckThreadOffsets() 70 EXPECT_OFFSET_DIFFP(Thread, tls32_, thin_lock_thread_id, tid, 4); in CheckThreadOffsets() 71 EXPECT_OFFSET_DIFFP(Thread, tls32_, tid, daemon, 4); in CheckThreadOffsets() 72 EXPECT_OFFSET_DIFFP(Thread, tls32_, daemon, throwing_OutOfMemoryError, 4); in CheckThreadOffsets() 73 EXPECT_OFFSET_DIFFP(Thread, tls32_, throwing_OutOfMemoryError, no_thread_suspension, 4); in CheckThreadOffsets() 74 EXPECT_OFFSET_DIFFP(Thread, tls32_, no_thread_suspension, thread_exit_check_count, 4); in CheckThreadOffsets() 75 EXPECT_OFFSET_DIFFP(Thread, tls32_, thread_exit_check_count, handling_signal_, 4); in CheckThreadOffsets() [all …]
|
D | thread.cc | 135 tls32_.is_gc_marking = is_marking; in SetIsGcMarkingAndUpdateEntrypoints() 397 tls32_.tid = ::art::GetTid(); in InitTid() 715 tls32_.thin_lock_thread_id = thread_list->AllocThreadId(this); in Init() 1179 DCHECK(delta == -1 || delta == +1 || delta == -tls32_.debug_suspend_count) in ModifySuspendCountInternal() 1180 << delta << " " << tls32_.debug_suspend_count << " " << this; in ModifySuspendCountInternal() 1181 DCHECK_GE(tls32_.suspend_count, tls32_.debug_suspend_count) << this; in ModifySuspendCountInternal() 1187 if (UNLIKELY(delta < 0 && tls32_.suspend_count <= 0)) { in ModifySuspendCountInternal() 1215 tls32_.suspend_count += delta; in ModifySuspendCountInternal() 1217 tls32_.debug_suspend_count += delta; in ModifySuspendCountInternal() 1220 if (tls32_.suspend_count == 0) { in ModifySuspendCountInternal() [all …]
|