Home
last modified time | relevance | path

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

/art/runtime/
Dthread-inl.h454 WeakRefAccessState s = tls32_.weak_ref_access_enabled.load(std::memory_order_relaxed); in GetWeakRefAccessEnabled()
455 if (LIKELY(s == WeakRefAccessState::kVisiblyEnabled)) { in GetWeakRefAccessEnabled()
459 if (s == WeakRefAccessState::kVisiblyEnabled) { in GetWeakRefAccessEnabled()
461 } else if (s == WeakRefAccessState::kDisabled) { in GetWeakRefAccessEnabled()
464 DCHECK(s == WeakRefAccessState::kEnabled) in GetWeakRefAccessEnabled()
465 << "state = " << static_cast<std::underlying_type_t<WeakRefAccessState>>(s); in GetWeakRefAccessEnabled()
469 tls32_.weak_ref_access_enabled.store(WeakRefAccessState::kVisiblyEnabled, in GetWeakRefAccessEnabled()
Dthread.h195 enum class WeakRefAccessState : int32_t { enum
1246 WeakRefAccessState new_state = enabled ? in SetWeakRefAccessEnabled()
1247 WeakRefAccessState::kEnabled : WeakRefAccessState::kDisabled; in SetWeakRefAccessEnabled()
1987 weak_ref_access_enabled(WeakRefAccessState::kVisiblyEnabled), in tls_32bit_sized_values()
2056 mutable std::atomic<WeakRefAccessState> weak_ref_access_enabled;
/art/compiler/optimizing/
Dintrinsics_x86.cc3509 Immediate(enum_cast<int32_t>(WeakRefAccessState::kVisiblyEnabled))); in VisitReferenceGetReferent()
Dintrinsics_riscv64.cc767 static_assert(enum_cast<int32_t>(WeakRefAccessState::kVisiblyEnabled) == 0); in VisitReferenceGetReferent()
Dintrinsics_x86_64.cc3303 Immediate(enum_cast<int32_t>(WeakRefAccessState::kVisiblyEnabled))); in VisitReferenceGetReferent()
Dintrinsics_arm_vixl.cc2407 __ Cmp(temp, enum_cast<int32_t>(WeakRefAccessState::kVisiblyEnabled)); in VisitReferenceGetReferent()
Dintrinsics_arm64.cc3553 static_assert(enum_cast<int32_t>(WeakRefAccessState::kVisiblyEnabled) == 0); in VisitReferenceGetReferent()